Gustav
unread,Feb 28, 2009, 5:05:35 PM2/28/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fancybox
centerOnScroll function is not usable right now because it's slows
down page scrolling after picture is closed (read: hided). After you
close the image and start to scroll the page, you can see "invisible
ghost image" scrolling along with page. It's because image wrapper and
overlay is hided not removed, it's pos calculation is still active and
this eats up browser's resources. This effect can be seen on slower
browsers IE6 & 7, in Fx if it's heavily loaded w/ plug-ins and even in
Opera sometimes.
Quick solution is to turn off centerOnScroll, which is on by default.
Even better solution is to rewrite the cleanup - start up procedures.