1wt.resLightbox = {}; 2wt.resLightbox = (function() { 3 4 var jQuery = wt.jQuery; 5 var $ = jQuery; 6 var $wt = jQuery.noConflict(); 7 8 function resLightboxFunction() { 9 $wt('.thumbnail-frame').each(function(){ 10 var thumbnailCaption = $wt('.thumbnail-caption', this).text(); 11 $wt('a',this).attr({'href' : $wt('a img',this).attr('src').replace(/thumb/i,'full'),}); 12 $wt('img',this).attr({'title' : thumbnailCaption,}); 13 }); 14 15 var lightboxAlbum = $wt('.album-wrapper, .lightbox'); 16 lightboxAlbum.poptrox({ 17 baseZIndex: 10001, 18 useBodyOverflow: false, 19 usePopupEasyClose: false, 20 overlayColor: '#000', 21 overlayOpacity: 0.65, 22 usePopupDefaultStyling: false, 23 usePopupCaption: true, 24 popupBlankCaptionText:'(not titled)', 25 popupLoaderText: '', 26 windowMargin: (skel.isActive('small') ? 5 : 50), 27 overlayClass: 'poptrox-overlay skel-layers-fixed', 28 usePopupNav: true 29 }); 30 31 var lightbox = $wt('body'); 32 lightbox.poptrox({ 33 baseZIndex: 10001, 34 useBodyOverflow: false, 35 usePopupEasyClose: false, 36 overlayColor: '#000', 37 overlayOpacity: 0.65, 38 usePopupDefaultStyling: false, 39 usePopupCaption: false, 40 popupClass: 'poptrox-popup padding', 41 popupBlankCaptionText:'(not titled)', 42 popupLoaderText: '', 43 windowMargin: (skel.isActive('small') ? 5 : 50), 44 overlayClass: 'poptrox-overlay skel-layers-fixed', 45 selector: 'a.pop', 46 usePopupNav: true 47 }); 48 } 49 50 $wt(document).ready(function() { 51 resLightboxFunction(); 52 }); 53 54})(wt.resLightbox);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.