Results 1 to 2 of 2

Thread: Multiple javascripts on same page

  1. #1
    Join Date
    Nov 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Multiple javascripts on same page

    Hello, i'm trying to use 2 dhtml javascripts (cross browser marquee & Top Navigational Bar III) on the same page. However I can not get both to work at the same time.

    I found where you have to put both "onloads" in the same line in the body tag. I found the two onloads--"populate" and "loadFunction" so I put in the body tag: <body onload="loadFunction();populate()"... However now the menu works but the marquee (populate) does not.

    Any suggestions? Thanks! -Sean

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Are there any shared variable names between the two scripts?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •