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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -