Get a free trial // Grow your CSS skills // Land your dream job

MouseWheel function

  • # January 24, 2013 at 11:59 pm

    hi guys,

    i created one page website that have many div and after that i want navigate between div using MouseWhell so i made it like this [Example]( “JSfiddle”).

    but the problem now when the user scroll twice or using touchpad to scroll it, the page will jump to 2 or 3 div ahead.

    all i want is to make when user scroll it twice or more it keep jump to next div so no matter how much user will scroll it always jump to the next/perv div

    is it possible ???


    i managed to solved that with added delay for the each time the function being called.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed