SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: mqrquee start and stop
-
Sep 19, 2007, 04:06 #1
- Join Date
- Dec 2005
- Posts
- 527
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
mqrquee start and stop
want make a marquee that only on mouse over works
some things like this :
Code:<marquee onload="this.stop()" onmouseout="this.stop()" onmouseover="this.start()">string</marquee>
but it does not have onload event I dont want (can not) use body events (I can edit only one part of page that contain some dive and this marquee)
how can I make it stop on start of page without using onload of body
-
Sep 19, 2007, 18:12 #2
- Join Date
- Oct 2004
- Location
- Sydney, Australia
- Posts
- 175
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I don't think you can stop a marquee? Because its not a valid/standard html tag the events you're relying on may not work in all browsers. You would probably be better off using a pure javascript implementation to get the functionality you require.
Bookmarks