Closed Thread Icon

Preserved Topic: onmousedown? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18373" title="Pages that link to Preserved Topic: onmousedown? (Page 1 of 1)" rel="nofollow" >Preserved Topic: onmousedown? <span class="small">(Page 1 of 1)</span>\

 
Russian Bear
Nervous Wreck (II) Inmate

From: Russia
Insane since: Dec 2001

posted 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/

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 12-16-2001 20:41

im not sure, i understood you exactly.

but i think, the reason that the number isnt increasing when you push the mouse button quickly is a general javascript issue.

and then you want your image look like a button? is this right?
just use <input type=button value=mytext>



Russian Bear
Nervous Wreck (II) Inmate

From: Russia
Insane since: Dec 2001

posted posted 12-16-2001 20:58

Thank you for your answer, GRUMBLE.
I dont want my image look like a button, but I want it work as button of scroll bar. Try to push button of scroll bar, for exampe of IExplore or Netscape, quickly down-up-down --> window scroll. When you push button in my sample so, elements of array in text field don't change. I ask: how to make them change. And this is a general javascript issue

[This message has been edited by Russian Bear (edited 12-16-2001).]

[This message has been edited by Russian Bear (edited 12-16-2001).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted 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.

I usually don't worry about this though.

Russian Bear
Nervous Wreck (II) Inmate

From: Russia
Insane since: Dec 2001

posted 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

« BackwardsOnwards »

Show Forum Drop Down Menu