Thanks. However, will your example break if the images tht need to be
preloaded already have a class such as class="inline right"? I've
tried your approach and changed the class on the images to now read
"hover inline right" then I change the "hover" text in the script to
"hover inline right". I b
On Jun 5, 2007, at 5:35 AM, Jared Hawkins wrote:
Then, how would I suppress those images to be loaded after this event
from loading on page load?
I made a quick explanation about image preloading I am using. It
preloads images sequentially after all other elements (including
other image
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
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 {
> jQuery("").attr("src", arguments[i]);
> }
>
> }
>
> $.
Like this?
$(document).ready(function()
{
for(var i = 0; i").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
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?
6 matches
Mail list logo