Roman
Keymaster
Post count: 2538
Been thanked: 29 times
#9848 |

weird…for me it works…also should define the script as text/javascript:

Code:
<script type=”text/javascript” data-cfasync=”false”>
$(window).scroll(function() {
$(‘#wrapper’).each(function(){
var imagePos = $(this).offset().top;

var topOfWindow = $(window).scrollTop();
if (imagePos < topOfWindow+400) {
$(this).addClass(“divFadeIn”);
}
});
});
</script>