...

View Full Version : How to disable mouse scrolling?



dabluedude
01-10-2004, 05:51 PM
hello,
I searched the whole internet for it: "a script what disables mousescrolling" (you CAN scroll with the bar).
Can someone please help me?
thnx :)
Thomas

liorean
01-10-2004, 06:04 PM
You mean mouse wheel scrolling? There are iew proprietary ways, but I wouldn't recommend them. Users get irritated if there is a convenience feature they are used to that you disable. It makes them feel trapped, and gives them a feeling you're not respecting them.


<http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onmousewheel.asp>

dabluedude
01-10-2004, 06:11 PM
Yes thats what I meant, I want to use it because I use the FCKeditor, perhaps you know it ...., when people use the mousewheel scroll while the editor is loaded in their window with internet explorer, it gets all crazy :/ (the graphics)

Thanks for the link, but im kinda noob, so i have no idea what ive got to do with it. Could you give me a script PLEASE ^^ .
thnx

Garadon
01-10-2004, 07:02 PM
<script type="text/javascript">
function stop()
{
return false;
}
document.onmousewheel=stop;
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum