Though it may be unstable (not sure if it is), having a marquee tag inside a marquee (different behaviors) makes some really unique effects.![]()
Though it may be unstable (not sure if it is), having a marquee tag inside a marquee (different behaviors) makes some really unique effects.![]()
One can have quite a bit of fun with the marquee tag but, it is only minimally supported, when at all, in browsers other than IE. Also, most people find them irritating. I use them very occasionally for emphasis but, limit them to the type that roll in once and then stand still. Since other browsers do not support even this simple behavior attribute for a marquee tag, I disable the movement completely for all other browsers.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
I guess one quick way to make the marquee tag degrade well in other browsers is to add a overflow:scroll CSS attribute, so other browsers can at least manually scroll the contents inside:
But I think the marquee tag's days are numbered.Code:<div style="overflow: scroll; height: 300px"> <marquee direction="up"> text here </marquee> </div>
Can't JS do it better anyway?
Well, JS is JS only but, it can do it cross browser but, it is more complex than a simple tag. Here is how I disable marquees for other browsers:
Works for FF and Opera. One or the other or both of these browsers will scroll a marquee tag but neither respect the behavior attributes. DD's idea is great if the marquee content will not fit in the allotted space.Code:marquee{-moz-binding:none;display:block}
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
For John's idea of making content scroll once, a client-side script probably would be better if that effect was really wanted; at least one could be sure that it would degrade reliably. However, repeatedly scrolling content is a Bad Thing (TM), so considering what would be a better implementation isn't the best use of one's time.Originally Posted by djr33
Mike
Well this was something i was messing with a long time ago... i dont use the tag anymore
Bookmarks