Thursday, 15 July 2010

c# - append items to a existing page ajax similar to amazon show more items button -



c# - append items to a existing page ajax similar to amazon show more items button -

i have page shows 5 items have button @ end show more items

when pushed show 10 more items not post similar amazon show more items on review purchases page.

some of answers here inifite page. asking called lazy loading of images.

plugin: http://www.appelsiini.net/projects/lazyload

demo: http://www.appelsiini.net/projects/lazyload/enabled.html

this simplified explanation:

find window size , find position of images , sizes if image not within window size, replace placeholder of same size when user presses button, , position of image < scroll + window height, image loaded

c# jquery asp.net ajax

No comments:

Post a Comment