HI i am making my project using Isotope.js where i have to show my tiles in the horizontal manner, So i am following code
var winDow = $(window);
// Needed variables
var $container=$('.portfolio-box, .blog-box');
var $filter=$('.filter');
try{
$container.imagesLoaded( function(){
$container.show();
$container.isotope({
layoutMode: 'masonryHorizontal',
masonryHorizontal: {
rowHeight: 50
},
});
});
} catch(err) {
}
but unluckily it is not working , error on the console is
1. Uncaught TypeError: Cannot read property 'LayoutMode' of undefined
2. Uncaught TypeError: undefined is not a function
Help is appreciable must