Click to See Complete Forum and Search --> : invoque twicw 1 ex. js files on page


pwickert
04-02-2003, 08:15 AM
I have a unique page with french and english version managerd with asp coding. I try to put a dynamique clock with an external js file in each language. I have two js, one in english, one in french.
How can I do that ? when I invoque both files it doesn't work !

Thank you in advance for your help.

gil davis
04-02-2003, 08:37 AM
You would have to name all the functions and variables differently in each script.

Why not put all the text into an array - one french, and one english? That way only the array changes. The functions wouldn't know the difference.

pwickert
04-02-2003, 10:47 AM
Thank you very much. I will try what you have suggested to me. I will let you know.

Thank you again.

pwickert
04-02-2003, 02:20 PM
It worked fine. Thank you again !