> Upon further investigation, it's the Mac Firefox that's giving me
> grief, the performance while still a tad hampered is acceptable. I
> guess there's not much I can do about it except hope that things will
> improve in the Mac FF3.

Possibly the unneeded fadeOut of all images, even the ones already
invisible, is causing a problem?

It should be possible to reduce all of those individual #picture_N
click handlers to something like this:

$("#navigation a").click(function () {
        $("#image img:visible").fadeOut("fast");
        $("#image img."+this.id).fadeIn("fast");
        return false;
});

Also, take advantage of chaining and simplify your selectors where
possible. Something like this:

$("#image ul li img").width($(window).width());
$("#image ul li img").height($(window).width() * .67);

can be simplified to this:

$("#image img")
   .width($(window).width())
   .height($(window).width() * .67);

Reply via email to