Jump to content

show images after people scroll down the page - don't load them immediately


tastro

Recommended Posts

show images after people scroll down the page - don't load them immediately after the page is loaded.

 

also the images which are below the scroll should be first loaded when an user scrolls down.

 

i need a javascript for that, but i don't want jquery! the code should be as short as possible.

 

thank you.

its called lazy load. There are many versions of it. there is jQuery, YUI and mootools. here is mootools example: http://davidwalsh.name/mootools-lazyload

 

here is jquery version

http://plugins.jquery.com/project/appear

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.