// $Id: colorbox.js,v 1.6.2.1 2010/07/11 12:34:24 frjo Exp $ (function ($) { Drupal.behaviors.initColorbox = function (context) { var settings = Drupal.settings.colorbox; $('a, area, input', context).filter('.colorbox:not(.initColorbox-processed)').addClass('initColorbox-processed').colorbox({ transition:settings.transition, speed:settings.speed, opacity:settings.opacity, slideshow:settings.slideshow, slideshowSpeed:settings.slideshowSpeed, slideshowAuto:settings.slideshowAuto, slideshowStart:settings.slideshowStart, slideshowStop:settings.slideshowStop, current:settings.current, previous:settings.previous, next:settings.next, close:settings.close, overlayClose:settings.overlayClose, maxWidth:settings.maxWidth, maxHeight:settings.maxHeight }); }; })(jQuery); /* playback timings (ms): LoadShardBlock: 88.108 (3) esindex: 0.029 captures_list: 114.21 CDXLines.iter: 19.34 (3) PetaboxLoader3.datanode: 474.794 (4) exclusion.robots.fetch: 0.426 (4) exclusion.robots: 1.309 exclusion.robots.policy: 0.314 RedisCDXSource: 1.211 PetaboxLoader3.resolve: 895.684 load_resource: 1299.879 */