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