954,124 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Javascript - This Replacement

I have a marquee which will slow down on mouseover.

<marquee behavior="scroll" scrollAmount="6" onMouseOver="this.scrollAmount=1" onMouseOut="this.scrollAmount=6" onMouseDown="this.scrollAmount=0" onMouseUp="this.scrollAmount=1"> Some links and other stuff here... </marquee>


However, it is annoying, becuase I don't want the marquee to slow down unless the user moves over a link. Does anyone know how I can refer to the marquee's properties from inside the tags?

EG: Using the 'onMouseOver="this.scrollAmount=1"', only with something like 'onMouseOver="thatmarquee.scrollAmount=1"' inside the tags?

Roberdin
Supreme Evil Overlord
Team Colleague
282 posts since Feb 2003
Reputation Points: 63
Solved Threads: 6
 

Solved it. Didn't know about the id property.

Roberdin
Supreme Evil Overlord
Team Colleague
282 posts since Feb 2003
Reputation Points: 63
Solved Threads: 6
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You