javascript - Make scrolling jump to the next image in a list (not be continuos) -
how can make similar effect below. when scroll scrolling isnt continuos, instead jump next image down. http://www.yesstudio.co.uk/
i image pretty complicated js im open other solutions achieve similar affect.
i think you'll need use js. use jquery. shouldn't complicated. if @ page source, you'll see images loaded in order. have put 1
<div style='width:100%;height:100%;position:fixed;z-index:2'> <img id='pic' src=''> </div>
into html, , update src
atribute depending on $(window).scrolltop()
. think jquery has function tells elements visible. not sure though. up.
give thought.
Comments
Post a Comment