scroll to next divs on mousewheel jQuery
问题 Trying to create a parallax page and on each mousewheel, page would scroll to next div (block) I tried with the following code but no luck, can anyone please suggest. Here is the working JSFiddle demo, (I have added mousewheel plugin as well) $(document).ready(function() { $('section').css({ 'height': (($(window).height())) + 'px' }); // Now bind the event to the desired element $('section').bind('mousewheel', function(e) { if (e.wheelDelta / 120 > 0) { $(this).text('scrolling up !'); } else