-
jQuery.imageLoader 1.0 Released
Posted on February 3rd, 2010 8 commentsA while ago I wrote an article on how to dynamically load images using jquery. This has turned out to be one of my most popular posts and I got a lot of feedback on it. As a follow-up I decided to package it up as a real-life jquery plugin and release it into the wild.
Read all about it and download it here.
8 responses to “jQuery.imageLoader 1.0 Released”
-
Hey, great plugin. Be searching for hours trying to find something like this. Nice one.
One question is how can I remove the display:block from the img tag.
I can’t work out where this is coming from.
Many Thanks
Ben
-
Hey, great plugin. Been searching for hours trying to find something like this. Nice one.
One question is how can I remove the display:block from the img tag.
I can’t work out where this is coming from.
Many Thanks
Ben
-
That is getting site by the call to show() by jquery. You can use the callback functionality to set the display attribute to whatever you like after the image has been loaded and shown.
-
abdali March 1st, 2010 at 11:22
I am running your demo Html and getting “Microsoft JScript runtime error: Object doesn’t support this property or method” on the followind line for code.
if (loader.get(0).hasAttribute(‘onload’)){
-
I gather you are using internet explorer from the error. Can you enlighten as to which version you’re experiencing the problem in? Thanks for the feedback.
-
abdali March 1st, 2010 at 14:25
I have tested you pluging on IE 7 and IE 8 and it doesn’t seem to be working. Cheers
-
Great. I’ll take a look and probably post a patch soon. Thanks.
-
Roger Dudler’s Blog » Blog Archive » Programming & Design Inspiration Links - Session 1 March 9th, 2010 at 02:25
[...] / CSS / UI http://blog.realmofzod.com/2010/02/03/jquery-imageloader-1-0-released/ http://davidwalsh.name/dw-content/image-preloader.php http://qooxdoo.org/ [...]
Leave a reply
-


