jQuery(document).ready(function($){$("a[rel*=lightbox]").colorbox({initialWidth:"30%",initialHeight:"30%",maxWidth:"90%",maxHeight:"90%",opacity:0.8,current:" {current} / {total}",previous:"<<",next:">>",close:"x"});function resizeColorBox()
{if(jQuery('#cboxOverlay').is(':visible')){jQuery.colorbox.resize({width:'100%',height:'100%'})}}
jQuery(window).resize(resizeColorBox);window.addEventListener("orientationchange",resizeColorBox,false);})
WordPress › Fehler