...

View Full Version : Marquee with Mozilla



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

With best wishes,
LottaLava

beetle
02-26-2003, 09: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...

jkd
02-26-2003, 09: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');
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum