Results 1 to 2 of 2

Thread: how to add several java scripts to my page??

  1. #1
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile how to add several java scripts to my page??

    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

  2. #2
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Well, there may be global variables that are the same used from differing scripts. Try to change the variable names.

    -magicyte

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
  •