[jQuery] Re: Help- jquery Dynamic Image load - dbl click = loads twice
Diogo - Thank you very much for the response. I am having a bit of trouble figuring out where to fit this additional code. I tried a few locations within my existing code and I am not having much luck. 'image.slide' What is that? I am not sure how that is used. Any additional help you or a
[jQuery] Re: Help- jquery Dynamic Image load - dbl click = loads twice
$.fn.image = function(fn) { var total = this.length, loaded = 0; this.each(function() { var i = new Image(); i.src = this.src; $(i).load(function(){ loaded++; if(loaded==total) fn();