XHTML & CSS marquee

Discussion in 'HTML & Website Design' started by ophir.oren, Jan 5, 2007.

  1. #1
    I've noticed that marquee isn't compatible in xhtml (and from what I was reading, it wasn't really correct in html also).
    but what if I do need a marquee in my page (to scroll news on the side of the screen)?
    I tried looking for a javascript code that can do the same but couldn't find one. does anyone knows how can I accomplish a marquee effect?
     
    ophir.oren, Jan 5, 2007 IP
  2. weknowtheworld

    weknowtheworld Guest

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes i think you are correct.
     
    weknowtheworld, Jan 5, 2007 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #3
    <marquee> was nothing more than a proprietary presentational element created by Microsoft during the browser wars to help promote its browser and to compete against Netscape, which had the majority of the market share at the time. To achieve a similar effect cross browser, you will have to use JavaScript.

    Understand that this can cause accessibility problems, so you'll want to be very careful about how you implement it. One of the better ones to use is DOM News, from onlinetools.org
    http://onlinetools.org/tools/domnews/
     
    Dan Schulz, Jan 6, 2007 IP
  4. ophir.oren

    ophir.oren Peon

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks :)
    That works great!
     
    ophir.oren, Jan 6, 2007 IP
  5. sakhsen

    sakhsen Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes, the online tools.org has helped us providing a vertical text scroller. Helpful and thanks to the team.
     
    sakhsen, Jun 25, 2011 IP
  6. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #6
    Any other 4-year old threads you want to drag up @sakhsen?
     
    drhowarddrfine, Jun 26, 2011 IP