E
effendi
Is it possible for me to disable the wheel scroll in a mouse when user
click on a drop-down list?
Thanks
click on a drop-down list?
Thanks
Is it possible for me to disable the wheel scroll in a mouse when user
click on a drop-down list?
Henrik said:(e-mail address removed) skrev:
Short answer: no
It's possible. I suppose the OP means <SELECT SIZE=1> with "drop-down
list". FF&&NS do not react on wheel events on such elements, so no
problem there. As for MSIE (6+),
<select size="1" onMouseWheel="return false;">
should do.
Best solution: Design your app in a sensible manner so that my mouse
wheel doesn't screw it up.
Randy said:Bart Van der Donck said the following on 10/18/2006 5:34 AM:
Test that in a decent browser
That is about as anal as anything in the world though. If a user wants
to scroll with the mouse wheel, then it seems anally anti-user friendly
to disable that.
A classic Ignoratio Elenchi.
I don't say anything about where/how/if the onMouseWheel-event should be
used.
My suggestion is a sheer technical and practical answer to the original question;
and IE-FF-NS are quite decent browsers.
Randy Webb skrev:
Agreed - but actually its often the browsers fault that the scrollwheel
screws up anything.
Randy said:Bart Van der Donck said the following on 10/19/2006 3:47 AM:
Perhaps, but who cares?
You didn't discourage it's use either.
Technical answer, yes. Practical answer, no.
No, it is the programmer who screws it up, the browser only does what it
is told to do. And by not understanding that, it doesn't make it the
"browsers fault" that you want behavior different from what the browser
provides.
Scenario:
A radiobutton group on a website.
The user selects an option and scrolls the wheel to scroll the page.
The browser instead changes his selection to the last radiobutton and
then scrolls the page.
Whos fault ? The guy who made the website ? The browser ? The User ?
And yes, this actually happens in some browsers, It might be the mouse
driver thats faulty - but thats not the programmers fault either.
can you give an url where that happens ?
(natural change of selected button when scroll by mousewheel)
ASM said:Henrik Stidsen a écrit :
can you give an url where that happens ?
(natural change of selected button when scroll by mousewheel)
Kevin said:This happens to me all the time at tvguide.com.
Kevin said:Ooops. Didn't notice the "radiobutton" thingie. Still, I wish tvguide
had a select for the start time, and then a Go button like many
websites. I know they're trying to help speed things up, but boy it's
so easy to mouse-wheel into trouble ;-)
Or, for that matter, use the arrow keys to scroll into trouble as well!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.