Results 1 to 4 of 4

Thread: Marquee with Mouse

  1. #1
    Join Date
    Oct 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Marquee with Mouse

    1) CODE TITLE: Marquee with Mouse

    2) AUTHOR NAME/NOTES: Mohammad Ashfaq Saqi

    3) DESCRIPTION: It is a simple and easy way to control marquee. On mouse over it stop and on mouse out it start again. Actually it is very easy way so that i have submitted this code.

    4) URL TO CODE:

    or, ATTACHED BELOW (see #3 in guidelines below):

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>:: Marquee with Mouse ::</title>
    </head>

    <body>

    <marquee onmouseover=this.stop() onmouseout=this.start() behavior="scroll" scrollamount="3" direction="right" bgcolor="#008ff0"> Welcome to drive dynamic! (world of wonders) </marquee>
    <br>
    <marquee onmouseover=this.stop() onmouseout=this.start() scrollamount="3" behavior="slide" bgcolor="#0099FF" direction="left"> Welcome to drive dynamic! (world of wonders) </marquee>
    <br>
    <marquee onmouseover=this.stop() onmouseout=this.start() scrollamount="3" bgcolor="#666600" behavior="alternate" direction="up"> Welcome to drive </marquee>
    <br>
    <marquee onmouseover=this.stop() onmouseout=this.start() behavior="alternate" scrollamount="9" direction="right" bgcolor="#008ff0"> Welcome to drive dynamic! (world of wonders) </marquee>
    <br>
    <marquee onmouseover=this.stop() onmouseout=this.start() scrollamount="9" behavior="slide" bgcolor="#0099FF" direction="left"> Welcome to drive dynamic! (world of wonders) </marquee>

    </body>
    </html>

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    It's not really made by you, its just a javascript attribute. But nice example.
    Jeremy | jfein.net

  3. #3
    Join Date
    Oct 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question ???? I don't know what is the problem but

    Dear,
    Actually i am not the founder of java script but actually i just try to introduce the easy way of do something what i have found by chance. When i was experimenting. It is my hobby.
    Thanks for your opinion.

  4. #4
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Though the marquee tag might work well, you should note that it's invalid and does'nt even exists on HTML 4.01/xHTL 1.0 Available tags.

    DD has a cross-browser marquee script:
    http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm
    http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

Bookmarks

Posting Permissions

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