Preserved Topic: onmousedown? (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Russia |
posted 12-16-2001 20:34
Please tell how to realize scrolling elements of some array in text field, when mouse button is down. See a sample here: http://www.geocities.com/russianbear_ru/ |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 12-16-2001 20:41 |
Nervous Wreck (II) Inmate From: Russia |
posted 12-16-2001 20:58
Thank you for your answer, GRUMBLE. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 12-16-2001 22:36
It's because it thinks you're double clicking, and for some reason, on a double click, it doesn't give the onmousedown and onmouseup events. Try putting the same code in ondoubleclick as in onmousedown, and it might work. |
Nervous Wreck (II) Inmate From: Russia |
posted 12-17-2001 05:55
Thank you for advise. I tried it earlier. If I'll put the same code in ondoubleclick as in onmousedown --> it will not work, because DblClick is down-up-down-up. But in my question mouse button is pushed |