jQuery(function($) { $("a[rel^='colorbox']").colorbox({opacity:0.6,speed:400,initialWidth:250,initialHeight:250,overlayClose:false,loop:true,slideshow:true,slideshowAuto:true,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",current:"{current} of {total}"});; // Disable Colobox on main reviews page image $("#productMainImageReview a").removeAttr("rel"); });