Marquee text in div

Discussion in 'JavaScript' started by Subikar, Jul 10, 2006.

  1. #1
    I want to display marquee text in div on mouse move over, marquee will pause.
    Please give some example or source code.
    Thanks in advance.
     
    Subikar, Jul 10, 2006 IP
  2. giraph

    giraph Guest

    Messages:
    484
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It's really not too hard, what you need to do is use the onmouseover event of the marquee tag.

    <marquee onmouseover="javascript:this.stop();" onmouseout="javascript:this.start();">Hello</marquee>
    Code (markup):
     
    giraph, Jul 11, 2006 IP