javascript - how to show div when scroll reach? -
divs showing underneath 1 bye 1 of div
is there option show each .slide
on basis of mouse scrolling ?
go underneath while scroll up
you can check out current scroll top, , based on that, fire jquery code activate current tab. that's possible. few things unclear question. first being, looks homework question. know have done far. secondly, didn't provide need after scroll.
$(document).ready(function(){ $(window).scroll(function(){ if (window.scrolly > 100) $(".slide[data-slide='2']").height(2000); }); });
Comments
Post a Comment