I am using the jQuery tool plugin as an image slider (), but due to large amounts of images, They need to load something on time. Since this is javascript coded, I can not have a scrolling position as much as I know. As soon as the last image appears or something like that I want to load them.
This is my code
Please give me some light, please
I just had to use the scrollable () method within the jQuery tool 'API, onSeek parameter
It was something like this
$ ("scrollable"). Scroll ({vertical: true, onsite: function () {row = this.getIndex (); // Check if more content is worth loading (line% 4 == 0 and line! = 0) {var Id = this.getItems (). Find ('img'). Filter (': atr (' id '); id = parseint (id); $ .get (' gallaria.itm.pp? id = '+ id, Blank, function (html) {$ ('. Item'). Enclosed (html);});}}});
Comments
Post a Comment