Hi, I am doing my project using Isotope.js where I have to show my tiles horizontally, so I follow the code
var winDow = $(window);
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, unfortunately, it does not work, an error on the console
1. Uncaught TypeError: Cannot read property 'LayoutMode' of undefined
2. Uncaught TypeError: undefined is not a function
Help is noticeable.
source
share