";
var Fscroll = scroll.replace(/(\r\n|\n|\r)/gm," ");
if ( Fscroll === "yes" ) {
$(document).ready(function() {
$('body').addClass('imgani');
});
$(window).bind('load resize scroll', function() {
var window = $(this).height();
$('.block-image .thumb a,.feat .primeiro .feat-thumb a,.feat ul li .feat-thumb a,.related li .related-img,.roma-widget .wid-thumb a,.PopularPosts ul li img,.cmmwidget li .avatarImage img').each(function() {
var qudr = .1 * $(this).height();
var omger = qudr - window + $(this).offset().top;
var lom = $(document).scrollTop();
if (lom > omger) {
$(this).addClass('anime');
}
});
});
}
//]]>
No comments: