// 200) {
pagetop.fadeIn();
} else {
pagetop.fadeOut();
}
});
pagetop.click(function () {
$(‘body, html’).animate({ scrollTop: 0 }, 500);
return false;
});
$(‘.fadebox’).css(‘opacity’, 0);
$(‘.fadebox’).on(‘inview’, function(event, isInView, visiblePartX, visiblePartY) {
if (isInView) {
$(this).stop().animate({opacity: 1}, 500);
}
else {
//$(this).stop().animate({opacity: 0}, 500);
}
});
})
// ]]>























コメント