not sure, but it could have to do with the browser caching the image. Last time I checked, IE doesn't report that an image has loaded if it's being pulled from the cache. Probably the best thing to do is pull the stuff out of the .load() and into its own function. Then, check for the "complete" property:

if (the_image[0].complete) {
  myFunction();
} else {
  the_image.bind('load', myFunction);
}



--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Jun 3, 2009, at 6:47 AM, iRoybot wrote:


Does anyone knwo why IE7 is refusing to do 'the trick'?

It works nice in modern browsers and even in IE6
http://navigate.de/dev/caption2.html

Reply via email to