Javascript - This Replacement

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Feb 2003
Posts: 282
Reputation: Roberdin will become famous soon enough Roberdin will become famous soon enough 
Solved Threads: 6
Team Colleague
Roberdin Roberdin is offline Offline
Supreme Evil Overlord

Javascript - This Replacement

 
1
  #1
Apr 9th, 2003
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?
Reply With Quote Quick reply to this message  
Join Date: Feb 2003
Posts: 282
Reputation: Roberdin will become famous soon enough Roberdin will become famous soon enough 
Solved Threads: 6
Team Colleague
Roberdin Roberdin is offline Offline
Supreme Evil Overlord
 
0
  #2
Apr 13th, 2003
Solved it. Didn't know about the id property.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC