1/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 Default JS Library. 3 by DesignSlicer.com _ [email protected] _ 4 Aug 08 revision. 5- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 6ieHover = function() { 7 var ieEls = document.getElementById("page").getElementsByTagName("LI"); 8 for (var i=0; i<ieEls.length; i++) { 9 ieEls[i].onmouseover=function() { 10 this.className+=" hover"; 11 } 12 ieEls[i].onmouseout=function() { 13 this.className=this.className.replace(new RegExp(" hover\\b"), ""); 14 } 15 } 16} 17if (window.attachEvent) window.attachEvent("onload", ieHover); 18try{document.execCommand("BackgroundImageCache",false,true);}catch(err){} 19jQuery(document).ready(function() { 20 jQuery('input[value]').each(function(){ 21 if(this.type == 'text') { 22 jQuery(this).focus(function(){ 23 if (this.value == this.defaultValue) { 24 this.value = ''; 25 } 26 }).blur(function(){ 27 if (!this.value.length) { 28 this.value = this.defaultValue; 29 } 30 }); 31 } 32 }); 33 jQuery('form.feedBurner').submit(function(){ 34 window.open('http://www.feedburner.com/fb/a/emailverify', 'popupwindow', 'scrollbars=yes,width=550,height=520'); 35 return false; 36 }); 37 jQuery('#commentBox .reply').click(function(event){ 38 event.preventDefault(); 39 var string = '<a class="replyTo" href="#' + jQuery(this).parents('li').attr('id') + '">@' + jQuery(this).siblings('#commentBox .info').find('.author').text() + ':</a>'; 40 var currentValue = jQuery('#comment').val(); 41 jQuery('#comment').val(currentValue + string + '\n').focus(); 42 }); 43 var exp = /^@/; 44 var exphref = /^#comment-/; 45 jQuery('#commentBox .content p a').each(function(){ 46 if (jQuery(this).text().match(exp) && jQuery(this).attr('href').match(exphref)) { 47 jQuery(this).addClass('replyTo'); 48 } 49 }); 50 var offset = jQuery('#commentBox').offset(); 51 jQuery('.replyTo').hover( 52 function(){ 53 jQuery(jQuery(this).attr('href')).clone().hide().attr('id','').insertAfter(jQuery(this).parents('li')).addClass('commentTip').fadeIn('medium'); 54 }, 55 function(){ 56 jQuery('.commentTip').fadeOut('fast',function(){ 57 jQuery(this).remove(); 58 }); 59 } 60 ).mousemove(function(e){ 61 jQuery('.commentTip').css({'left' : (e.pageX - offset.left + 10) , 'top' : (e.pageY - offset.top + 5)}); 62 }); 63 jQuery('.tabControl').tabs({ fx: { height: 'toggle' } }); 64});
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.