try adding this
if ($.browser.msie)
{
var href = $("img", "#preview").attr("src").replace(/\?\d*$/g,'');
}
to the load, and add a random string to every linking function
like this
if ($.browser.msie)
{
href+= '?' + (Math.round(512 * Math.random()) + Math.round(512 *
Math.random()));
}
i see u have <a> there so just bind a click function to that a like in
this example:
$("a", ".img").click(function()
{
var href = $(this).attr("href");
if ($.browser.msie)
href+= '?' + (Math.round(512 * Math.random()) + Math.round(512 *
Math.random()));
}
});
On Sep 10, 4:57 pm, weepy <[EMAIL PROTECTED]> wrote:
> I changed to bind('load', ...
>
> I still get the same problem - at first it fires - but once the image
> has loaded - it seems that IE has cached the image and so the image
> load event does not get fired.
>
> You can see it in action here
> :http://parkerfox.parkerfox.railsplayground.net/labs/zoombox/
>
> Jonah