Could someone say what the matter is? At first I have load jQuery Waypoints (http://imakewebthings.github.com/jquery-waypoints/) then included the code you could see after the text. I need fadeIn effect on images when scrolling down the page but nothing heppen at all. I found this solution here at Stack Overflow - JQuery fade-in a div when user scrolls to that div And here is the link where I am trying to do my solution - http://layot.prestatrend.com Thanks!
// by default your element will be hidden
$('.ajax_block_product').hide();
// call waypoint plugin
$('.ajax_block_product').waypoint(function(event, direction) {
// do your fade in here
$(this).fadeIn();
}, {
offset: function() {
// The bottom of the element is in view
return $.waypoints('viewportHeight') - $(this).outerHeight();
}
});