Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How to disable mouse scrolling?

    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

  • #2
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeå, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    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/a...mousewheel.asp>
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #3
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    Regular Coder
    Join Date
    Jul 2002
    Posts
    698
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <script type="text/javascript">
    function stop()
    {
    return false;
    }
    document.onmousewheel=stop;
    </script>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •