Forum Moderators: open

Message Too Old, No Replies

External javascript

         

dougie

6:53 pm on Jan 21, 2004 (gmt 0)

10+ Year Member



I get no problem with external javascript when both files are in the same folder, but can anyone let me know how you link both when they are in different folders please?

dougie.

Purple Martin

7:25 am on Jan 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use as many script tags as you have files. In the src attribute for each, you can have a relative filepath just like you would in the href of a normal link.

dougie

7:52 am on Jan 22, 2004 (gmt 0)

10+ Year Member



Many thanks, prob solved.