https://lastm.net/wp-content/plugins/tin-canny-learndash-reporting…/assets/scripts/script.js?ver=3.4
1jQuery(document).ready(function($){ 2 $( '.AnC-iFrame' ).each( function() { 3 var src = $( this ).attr( 'data-src' ); 4 $( this ).attr( 'src', src ); 5 }); 6 7 $("a.nivo_iframe").each( function() { 8 var options={}; 9 options.theme="default"; 10 if ( $(this).attr("data-transition") ) { 11 options.effect=$(this).attr("data-transition"); 12 } 13 14 var width = $(this).attr("data-width"); 15 var height = $(this).attr("data-height"); 16 17 function nivo_resize() { 18 var wrap_height = $( '.nivo-lightbox-wrap' ).height(); 19 var content_height = $( '.nivo-lightbox-content' ).height(); 20 21 $( '.nivo-lightbox-wrap' ).stop(); 22 23 if ( wrap_height > content_height ) { 24 $( '.nivo-lightbox-wrap' ).animate({ 25 'padding-top' : ( wrap_height - content_height ) / 2 + 'px' 26 }); 27 } else { 28 $( '.nivo-lightbox-wrap' ).animate({ 29 'padding-top' : '0px' 30 }); 31 } 32 } 33 34 options.afterShowLightbox = function() { 35 if( width ) { 36 $( '.nivo-lightbox-content' ).css({ 37 'max-width' : width 38 }); 39 } 40 41 if( height ) { 42 $( '.nivo-lightbox-content' ).css({ 43 'max-height' : height 44 }); 45 46 nivo_resize(); 47 $( window ).resize(function() { 48 nivo_resize(); 49 }); 50 } 51 }; 52 53 $(this).nivoLightbox( options ); 54 }); 55});
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.