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

http://jsfiddle.net/wq3he/

enter image description here

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);     }); }); 

fiddle: http://jsfiddle.net/praveenscience/wq3he/1/


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -