Hi
I'm trying to add class and to apply some scripts on Project Thumbnail Grid element, but apparently it loads after the event: "Frontend.GlobalEvents.on("newpageshown", function(layoutObj, type, obj), and my code doesn't apply to it.
For example I'm trying to add a custom class to each of grid's items like this:
Frontend.GlobalEvents.on("newpageshown", function(layoutObj, type, obj){
jQuery( document ).ready(function() {
jQuery('.thumbnailgrid-row . thumb').addClass("js-tilt");
});
});
But it doesn't work.
Is there a special event that catches the grid after it had completed its loading?
Thanks in advance,
Sasha