View Full Version : help for cross browser scrolls

02-22-2006, 09:56 AM
hello, i need help on how i can have 2 cross browser marquees installed in a single page.please refer to cross browder marqueeII page in this link,http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm. i have tried to install one and it works but i would like to install 2 of this marquee features in a single page. I tried to duplicate the codes but only one works, the other doesnt function. is there anyway any of you can show me how to do that?

02-22-2006, 11:25 AM
This is a stock response:

Note: Questions regarding multiple script usage are not usually replied to due to their time consuming nature. See this <a href="http://www.dynamicdrive.com/forums/showthread.php?t=320">thread</a> for more information, and this <a href="http://www.javascriptkit.com/javatutors/multiplejava.shtml">tutorial</a> for one possible solution.

Aside from the tutorial above, which usually is the solution when the problem is two different scripts, you may need to consult:


Which explains how two scripts on the same page may not use the same set of variable names, id names, function names, etc. This is especially important if the problem is two copies of the same script on a page but, can come into play with two different scripts when the first step won't fix it.

One other approach that works in both situations, if adaptable to one (or more) of the scripts, is to put one script in a borderless iframe. It will look like it is on the same page but, since it really is on a separate page, conflicts are no longer an issue.