Hi all
I have a list of items that when you hover over them it displays an image (using CSS). This is fine when the list is small but when the list is large it takes a while to load all the images... this then delays any javascript on the page from running until all the images are loaded.
Is there a way to either:
* Use javascript to make it so the image only loads when the link is hovered over?
or
* Allow the rest of the javascript on the page to run before the images are finished loading?
I think i'd prefer the first solution if possible but i'm open to all ideas.
Thanks in advance!
I have a list of items that when you hover over them it displays an image (using CSS). This is fine when the list is small but when the list is large it takes a while to load all the images... this then delays any javascript on the page from running until all the images are loaded.
Is there a way to either:
* Use javascript to make it so the image only loads when the link is hovered over?
or
* Allow the rest of the javascript on the page to run before the images are finished loading?
I think i'd prefer the first solution if possible but i'm open to all ideas.
Thanks in advance!