Click to See Complete Forum and Search --> : producing an event


monam
08-04-2003, 03:45 AM
hi
I have a HTML code with javascripts in it,I have som boxes and I want to be able to do somthing when mouse pointer is pressed on them[not clicked] or released,just like when we want to drag something.but I couldn't find a solution,is there any espicial event for that?

gil davis
08-04-2003, 06:15 AM
You use onmousedown to start the drag function, and use onmouseup to stop it.