PDA

View Full Version : how to add several java scripts to my page??



puddingbag
10-11-2008, 07:34 PM
I designing a web site and i want to use several bits of javascript so i can have :

1) image scroll

2) new ticker

3) random images placement etc

I can always get one to work but when i add several of the codes its stops or just one of the codes works.

Im not sure if i can put the java script in a different file and the html file locates it uploads it to the web page when it opens, not sure

im getting really confused as it when i add all the code its hard to locate each bit etc which i guess what causing the problem.

does anyone know the best way to do this?????

Many thanks

Tim

magicyte
10-11-2008, 08:43 PM
Well, there may be global variables that are the same used from differing scripts. Try to change the variable names.

-magicyte