943,336 Members | Top Members by Rank

Ad:
Apr 9th, 2003
1

Javascript - This Replacement

Expand Post »
I have a marquee which will slow down on mouseover.

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <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 <A HREF> tags?
Similar Threads
Team Colleague
Reputation Points: 63
Solved Threads: 6
Supreme Evil Overlord
Roberdin is offline Offline
282 posts
since Feb 2003
Apr 13th, 2003
0
Re: Javascript - This Replacement
Solved it. Didn't know about the id property.
Team Colleague
Reputation Points: 63
Solved Threads: 6
Supreme Evil Overlord
Roberdin is offline Offline
282 posts
since Feb 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Scrolling On/Off issue





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC