Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2002
    Location
    São Paulo, BRAZIL
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Marquee with Mozilla

    Does someone known how i could do a marquee tag work with Mozilla like IExplorer?

    With best wishes,
    LottaLava

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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...
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #3
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    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:

    Code:
    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');
    }


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •