SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    Jul 2001
    Location
    London, UK
    Posts
    475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scripting question for experts

    Scripting question for experts
    This is a question for experts only -

    OK heres the deal, i have just finished a template i have been working on for my website, i finally got it finished but i got a real tricky problem.

    The template can be found at http://www.hostcompanies.com/fixedtestinavigate.htm

    My template uses a menu system from http://www.cirkadia.com called inavigate, i also have a multilingual translator on my website.

    My menu from inavigate works beautifully however when i use the translator - the translator software translates part of the script used to call the menu.

    I have located the problem area- after translation <script language="JavaScript1.2" src="http://translate.copernic.com:8090/iNavigate 3.4/iNavigate/jscript/iNavigate.js?AlisTargetHost=http://www.hostcompanies.com&AlisUI=none&AlisTargetLang=fr">

    It should look like this - <script language="JavaScript1.2" src="iNavigate 3.4/iNavigate/jscript/iNavigate.js">

    So is there a way i could trick the translator not to translate this part of the code or a way to set up a script which uses a variable to call the javascript instead of the current code?

    If i could set up another way to call the script i could put the code inside the head of my html and it wont be translated, then i only need to call it where my old code use to be.

    Can this be done?

    Anyone got an ideas how to get round this problem?

    Any help really appreciated, its a shame to have this problem when i have worked so hard to make my website update so nice.
    Add your web design / hosting companies to my directory - Web Hosting Directory
    Want to join our panel of experts? - Hosting Forums ( top right of forums -expert drop down box for more info ).

  2. #2
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Moved to a more appropriate forum

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  3. #3
    Xbox why have you forsaken me? moospot's Avatar
    Join Date
    Feb 2001
    Location
    Clearwater, FL
    Posts
    3,615
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ineteresting problem. After translation, your site is in a frame. Any link that is clicked on is going to the translator script via the querystring (the ? in the URL).

    When I look at your source code after translation, I do not see the code like you saw it. Everything looks in order. I can click on a link in your menu and see another page translated as it should be.

    A side note: After you translate, it defaults on English and you can't select it to translate back to English.

    BTW, I am using IE 6


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •