Unfortunately it's not that simple, thanks to IE:
http://groups.google.com/group/jquery-dev/browse_thread/thread/24b107e84adeaaee/
http://dev.jquery.com/ticket/3930
On Jan 31, 4:20 pm, frederik.r...@gmail.com
frederik.r...@gmail.com wrote:
Ok! That's great! Thanks for the explanation!
$('#image').bind('onreadystatechange load', function(){
if (this.complete)
$(this).height()...etc
});
On Feb 1, 12:13 pm, Balazs Endresz balazs.endr...@gmail.com wrote:
Unfortunately it's not that simple, thanks to
Hi,
the event you are looking fore is the image load event.
try:
$('.myimage').load(function(){...});
by(e)
Stephan
2009/1/31 frederik.r...@gmail.com frederik.r...@gmail.com:
Hi!
I have the following task: I have a list of images and some of those
images have a larger version that I
Hi thanks for the answer, it worked fine this way.
Although I understood the documentation in a way that load will only
fire if the image still has to loaded. What happens when the image
already is in the Browser's cache?
Thanks again!
if its in the cache, then it will be loaded (much) faster so
either cache or no cache, the page still has to load it
On Jan 31, 10:09 am, frederik.r...@gmail.com
frederik.r...@gmail.com wrote:
Hi thanks for the answer, it worked fine this way.
Although I understood the documentation in
Ok! That's great! Thanks for the explanation!
6 matches
Mail list logo