jQuery(document).ready(function($){ }); jQuery(function($) { if( $('#126ADS2U68').length>0) { $('#126ADS2U68').galleria({ width:600, height:500, transition :"fade", imageCrop:true, responsive:true, extend: function(options) { // listen to when an image is shown this.bind('image', function(e) { // lets make galleria open a lightbox when clicking the main image: $(e.imageTarget).click(this.proxy(function() { this.openLightbox(); })); }); } }); //$(window).load(function(){ $('.galleria-container').css('backgroundColor','#'); }); } if( $('#OG5U9F9XN9').length>0) { $('#OG5U9F9XN9').galleria({ width:720, height:500, transition :"fade", imageCrop:true, responsive:true, extend: function(options) { // listen to when an image is shown this.bind('image', function(e) { // lets make galleria open a lightbox when clicking the main image: $(e.imageTarget).click(this.proxy(function() { this.openLightbox(); })); }); } }); //$(window).load(function(){ $('.galleria-container').css('backgroundColor','#'); }); } });