SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Scripting question for experts
-
Mar 17, 2002, 10:22 #1
- 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 ).
-
Mar 17, 2002, 11:08 #2
Moved to a more appropriate forum
SeanHarry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
-
Mar 20, 2002, 16:04 #3
- 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