1var pantone = { 2 'please_click' : 0, 3 'target' : 0, 4 'delay' : 100 5} 6 7function initCollapse() { 8 $(".collapser").each(function(){ 9 $(this).html('<a href="#">'+$(this).html()+'</a>'); 10 $(this).children("a").toggle(function(event){ 11 $(this).parent().siblings(".collapsible").slideDown(100); 12 $(".fadebubble").fadeOut(200); 13 event.preventDefault(); 14 },function(event){ 15 $(this).parent().next().slideUp(100); 16 event.preventDefault(); 17 }); 18 }); 19} 20 21$(document).ready(function() { 22 //find all elements that should be collapsible and hide them. 23 pantone.collapsed = $(".collapsible, .delayed"); 24 pantone.collapsed.hide(); 25 initCollapse(); 26 pantone.target = $(".delayed"); 27 setTimeout("please_click()",pantone.delay); 28}); 29 30function please_click() { 31 if(pantone.target.length < 1) { 32 return; 33 } 34 35 pantone.target.slideDown('normal'); 36 pantone.please_click = 0; 37 pantone.target = { "length" : 0 }; 38}
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.