1jQuery( document ).ready( function() { 2 jQuery( "div[class^='timed-content-client']" ).each( function( index, element ) { 3 var clsname = jQuery( this ).attr( "class" ); 4 var params = clsname.split( "_" ); 5 for ( var i = 1; i < params.length; i += 4 ) { 6 var action = params[i]; 7 var minutes = parseInt( params[i+1] ); 8 var seconds = parseInt( params[i+2] ); 9 var fade = parseInt( params[i+3] ); 10 var ms = ( ( 60 * minutes ) + seconds ) * 1000; 11 if ( ( action == 'show' ) && ( ms > 0 ) ) { 12 jQuery( this ).hide( 0 ); 13 var s = setTimeout( 14 function() { 15 jQuery( "div[class='" + clsname + "']" ).show( fade ); 16 }, 17 ms ); 18 } 19 if ( ( action == 'hide' ) && ( ms > 0 ) ) { 20 var h = setTimeout( 21 function() { 22 jQuery( "div[class='" + clsname + "']").hide( fade ); 23 }, ms ); 24 } 25 } 26 } ); 27 28 jQuery( "span[class^='timed-content-client']" ).each( function( index, element ) { 29 var clsname = jQuery( this ).attr( "class" ); 30 var params = clsname.split( "_" ); 31 for ( var i = 1; i < params.length; i += 4 ) { 32 var action = params[i]; 33 var minutes = parseInt( params[i+1] ); 34 var seconds = parseInt( params[i+2] ); 35 var fade = parseInt( params[i+3] ); 36 var ms = ( ( 60 * minutes ) + seconds ) * 1000; 37 if ( ( action == 'show' ) && ( ms > 0 ) ) { 38 jQuery( this ).hide( 0 ); 39 var s = setTimeout( 40 function() { 41 jQuery( "span[class='" + clsname + "']" ).show( fade ); 42 }, 43 ms ); 44 } 45 if ( ( action == 'hide' ) && ( ms > 0 ) ) { 46 var h = setTimeout( 47 function() { 48 jQuery( "span[class='" + clsname + "']").hide( fade ); 49 }, ms ); 50 } 51 } 52 } ); 53} );
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.