window.onload was just an example. If you add the images via script then you can run the script whenever you choose. If the images are in the markup then the browser will download them immediately, so you need to remove them from the markup and add them to the DOM when you need them.
Mike On 6/4/07, Jared Hawkins <[EMAIL PROTECTED]> wrote:
Then, how would I suppress those images to be loaded after this event from loading on page load? On Jun 4, 10:30 pm, Jared Hawkins <[EMAIL PROTECTED]> wrote: > Like this? > > $(document).ready(function() > > { > for(var i = 0; i<arguments.length; i++) > { > jQuery("<img>").attr("src", arguments[i]); > } > > } > > $.preloadImages( > "image1.jpg", > "image2.jpg", > "image3.jpg", > "image4.jpg", > "image5.jpg", > ); > > On Jun 4, 8:09 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > > Just add the next set of image elements to the DOM in the window.onload event. > > > Mike > > > > Is there a method whereby I can load only the first group of photos > > > that display first on page load, and then somehow after page load, > > > issue a call for the remaining photos?