View Full Version : Marquee with Mozilla

02-26-2003, 08:21 PM
Does someone known how i could do a marquee tag work with Mozilla like IExplorer?

With best wishes,

02-26-2003, 08:32 PM
I'll bet jkd can come up with some super-sexy way to transparently mimick <marquee> with Mozilla, but I can't think of an easy solution at the moment...

02-26-2003, 08:42 PM
1.1 builds of Mozilla had <marquee> enabled by default to aid evangelism efforts in China (Chinese websites apparently heavily abuse <marquee>, and not supporting it supposedly hurt adoption).

Fortunately, later builds removed the rule by default. All it was was an XBL binding included in the chrome.

I'm pretty sure you could reenable support manually (in any Mozilla since 1.1) by including this in a stylesheet:

marquee {
display: block;
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal');

marquee[direction="up"], marquee[direction="down"] {
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical');