$(document).ready(function(){ /*$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'slow',theme:'light_rounded',slideshow:2000, autoplay_slideshow: false}); $(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'fast',slideshow:10000});*/ $('.gallery a').attr('rel','prettyPhoto[gallery1]') $(".gallery:first a").prettyPhoto({animationSpeed:'slow',theme:'light_rounded',slideshow:5000, autoplay_slideshow: false}); $(".gallery:gt(0) a").prettyPhoto({animationSpeed:'fast',slideshow:10000}); $("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({ custom_markup: '
', changepicturecallback: function(){ initialize(); } }); $("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({ custom_markup: '', changepicturecallback: function(){ _bsap.exec(); } }); });