The following shows the this error...
TypeError: $container.picsLoaded is not a function
How to get around this?
$(function(){
var $container = $('.site');
$(window).load(function(){
$container.picsLoaded( function(){
$container.masonry({
itemSelector : '.box',
isAnimated : true,
animationOptions: { duration: 800 }
});
});
});
// MouseOver Events
$('.box').hover(function(){
$('img', this).animate({"opacity": ".8"}, "slow");
},
function(){
$('img', this).animate({"opacity": "1"}, "slow");
});
});