",
speed: 0, }
},
// trigger Isotope as a callback
function( newElements ) {
var $newElems = $( newElements );
$(".progression-studios-gallery").flexslider({
animation: "fade",
slideDirection: "horizontal",
slideshow: false,
smoothHeight: false,
slideshowSpeed: 7000,
animationSpeed: 1000,
directionNav: true,
controlNav: true,
prevText: "",
nextText: "",
});
$(".progression-studios-portfolio-content-layout a[data-rel^='prettyPhoto'], .progression-studios-default-portfolio-index a[data-rel^='prettyPhoto']").prettyPhoto({
theme: "pp_default",
hook: "data-rel",
opacity: 0.7,
show_title: false,
deeplinking: false,
overlay_gallery: false,
custom_markup: "",
default_width: 900,
default_height: 506,
social_tools:""
});
$(".progression-studios-default-portfolio-index, .progression-studios-portfolio-content-layout").fitVids();
$newElems.imagesLoaded(function(){
$newElems.each(function(i, el) {
window.setTimeout(function(){
$(el).addClass('opacity-progression');
}, 200 * i);
});
$container.isotope( 'appended', $newElems );
});
}
);
/* END Infinite Scroll */
/* PAUSE FOR LAOD MORE */
$(window).unbind('.infscr');
// Resume Infinite Scroll
$('.nav-previous a').click(function(){
$container.infinitescroll('retrieve');
return false;
});
/* End Infinite Scroll */
});