In this example I do that with onmouseover/onmouseout - simply change the events to onmousedown/onmouseup.
 
To get a delay (in this example), do this:
<a href="javascript: void(0);" >click to slide</a>
 
Haven't tried it, but that's the idea.
Richard
----- Original Message -----
Sent: 15 May, 2001 21:20
Subject: [Dynapi-Help] Holding Mouse Down

Hey all, I think I have an easy question.  Sure do hope so.  How can I make something continuously happen while the mouse button is being held down on a given layer (button)?  I am making my own version of a scroll pane and I need it to continue to scroll while the mouse button is held down.  Also is there a way to make it so this repetitive action does not happen until the mouse button has been help down for at least 1 second?

 

Thanks in advance,

 

M.

Reply via email to