PDA

View Full Version : Cross browser marquee script



warrior11
09-15-2005, 05:11 PM
I copied the HTML code for the cross browser marquee script and it says it will work with both IE and Firefox, but for some reason it will not show up using firefox. Any suggestions or corrections I need to make to the script?
tom

jscheuer1
09-15-2005, 05:14 PM
Do you have that problem with the demo page here on Dynamic Drive?

whatever
.

berchris
10-08-2005, 09:18 AM
I copied the HTML code for the cross browser marquee script and it says it will work with both IE and Firefox, but for some reason it will not show up using firefox. Any suggestions or corrections I need to make to the script?
tom
If you mean: cross browser marquee script,
http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm

I also have a problem, with me the speed in Firefox (1.0.7) is far slower than in IE. I already see that in the DEMO on the description page.

So first test how the demo looks in your browser, if it scrolls, than it should work in your page. But anyhow I think the script is not really cross-browser!

ddadmin
10-08-2005, 10:22 AM
If you mean: cross browser marquee script,
http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm

I also have a problem, with me the speed in Firefox (1.0.7) is far slower than in IE. I already see that in the DEMO on the description page.



You can change this line:


marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS

to:


marqueespeed=marqueespeed

This will equalize the speed between Firefox and IE. Originally the code actually slows down the scroll speed in Firefox, as I was getting a much faster scroll in FF. Now for me both are rather close, but I guess not for you.