[jQuery] IE not fading correctly
http://teamtalkonline.com/marco/gallery.php bug here
Using windows xp and FF3, the fade works as intended to, however in IE 7 and
windows xp the fade instead delays then throws the opacity on there at once,
rather than a smooth transition. code:
if(!$(this).hasClass("active"))
{
//remove the current active thumbnail
$("img.active").stop().fadeTo("slow", .33).removeClass("active");
//show this thumbnail as active
$(this).stop().fadeTo("slow", 100);
$(this).addClass("active");
//create an img
var new_image = $(document.createElement("img"));
new_image.attr("src", $(this).attr("src").replace("gif", "jpg"));
//remove current image
$("#image").children("img").remove();
//append the new image to the #image div
$("#image").append(new_image.fadeIn("slow"))
} http://teamtalkonline.com/marco/gallery.php
http://teamtalkonline.com/marco/gallery.php
--
View this message in context: http://www.nabble.com/IE-not-fading-correctly-tp22286966s27240p22286966.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.