Tuesday, September 10, 2013

Slow scrolling and performance issues with lazyload and IE8

Slow scrolling and performance issues with lazyload and IE8

Can anyone shed some light on why this site is running so poorly in IE8? I
thought it might be lazyload as thats where it hangs but on other pages it
seems to handle lazyloading just fine.
Any advice will be much appreciated http://goo.gl/OWopkL
my js for layzloading
$("img.lazy").lazyload({
effect: 'fadeIn',
load: function() {
jQuery(this).delay(50).queue(function() {
var h = 0;
var f = 0
var h = jQuery(this).height();
var f =
jQuery(this).parents('figure').find('figcaption.caption').height();
jQuery(this).parents('figure').find('figcaption.caption').css('margin-top',
(h - f) / 2 + 'px');
jQuery(this).parents('tr').find('td').equalHeights();
});
}
});

No comments:

Post a Comment