Skip to content Skip to sidebar Skip to footer

Jquery Isotope Plugin: Generating Random Sized Images

I am using the Jquery Isotope plugin with divs that have a back ground image and that are a particular size: .frontpageimage { height: 200px; width: 200px; background-i

Solution 1:

OK, so I found adding my own class to use instead of isotope-item and adjusting my JQuery as well as moving it back above the isotope call did the trick:

$('#isotopecontainer .item:nth-child(2)').find('.frontpageimage').addClass('frontpageimagehigh');

<div class="item isotope-item"...

Hope this helps someone. Please msg me if you need more info

Post a Comment for "Jquery Isotope Plugin: Generating Random Sized Images"