// colorbox doc ready script jQuery(document).ready(function($){ $('a[href$="jpg"]').colorbox({ rel:"nofollow", maxWidth:"75%", maxHeight:"75%", slideshow:true, slideshowStart:">", slideshowStop:"||", slideshowSpeed:4000, transition:"elastic", speed:500 }); $('a[href$="png"]').colorbox({ rel:"nofollow", maxWidth:"75%", maxHeight:"75%", slideshow:true, slideshowStart:">", slideshowStop:"||", slideshowSpeed:4000, transition:"elastic", speed:500 }); $(".gallery-icon a").colorbox({ rel:"gallery", transition:"none", maxWidth:"75%", maxHeight:"75%", slideshow:true, slideshowStart:">", slideshowStop:"||", slideshowSpeed:4000, transition:"elastic", speed:500 }); });