PDA

View Full Version : Cross Browser marquee II - more than one scrolling div on a page



Mindzai
07-22-2006, 02:57 PM
1) Script Title:
Cross Browser marquee II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm

3) Describe problem:
I love this script, it's just what I need, however, could somebody please help me get this working with multiple scrollers on the same page?

I'm a php programmer, I don't know any javascript and nothing I've tried has got it to work on more than one div in a given page. I'd rather avoid using a scroller that is populated via a js array as I want to do that side of things with PHP.

If not, does anyone know of another script that will do what I need? I need something that will scroll divs automatically, and allow me to have >1 scrollable div on a page at the same time.

Thanks a lot for your help.

jscheuer1
07-23-2006, 06:28 AM
At present, the easiest way to do this would be to use:

http://www.dynamicdrive.com/dynamicindex2/iframe-scroller.htm

You can add additional iframe scrollers by repeating the code on the top page and using a different iframe id and external page source for each one.

However, using PHP, I don't see why you couldn't include an array just about as easily as regular HTML.