I have a website here:
http://www.shimkuscompanies.com/backup/
In IE8 (what the client uses) the site will stall on every page load for about 10 seconds. I finally realized that this code was the cause:
<script type=“text/javascript” src=“<?php echo $this->getThemePath()?>/fancybox/jquery.mousewheel-3.0.4.pack.js”></script>
<script type=“text/javascript” src=“<?php echo $this->getThemePath()?>/fancybox/jquery.fancybox-1.3.4.pack.js”></script>
<script type=“text/javascript”>
$(function() {
$(“a#popup”).fancybox({cyclic: true});
$("a#iframe").fancybox({
'hideOnContentClick': false,
'type':'iframe',
'width':750,
'height':470,
cyclic: true
});
});
</script>
So I removed the code and the page performance went back to normal - no more stalling. However, this code is necessary for the image galleries to display the photos in a Fancybox here: http://www.shimkuscompanies.com/backup/listings/listing/5.
Any thoughts on how to fix this? Right now I have the images opening in a new window on the live site (target=“_blank”) but that’s just a band-aid for now.
Thanks.