PDA

View Full Version : Multiple javascripts on same page



seanflakes
11-09-2005, 09:44 PM
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

jscheuer1
11-10-2005, 06:34 AM
Are there any shared variable names between the two scripts?