JavaScript - - By Sam Deering

jQuery Snippet Capture Horizontal Scroll

Just a jQuery Code Snippet to Capture Horizontal Scrolling.

//capture horizontal scroll
$(window).bind('scroll', function()
{
     //check if it's hit the leftmost scroll point
    if ($(document).scrollLeft() == 0)
    {
          //scroll horizontal
    }
});
Sponsors