1 2 3// FONT REPLACEMENT 4// Replace all tags with cufon equivalant 5Cufon.replace('h1,h2,h3,h4,h5,h6,#commentform label'); 6// 7 8// JQUERY 9 10//jQuery.noConflict(); - not needed unless you are pulling from an external jquery library 11 12jQuery(function($){ 13 14 // Clear searchform on click 15 $("#searchform #s").click(function(){ 16 $(this).val(""); 17 }); 18 19 20 // Dropdown Menu config 21 $("ul.sf-menu").supersubs({ 22 minWidth: 12, // minimum width of sub-menus in em units 23 maxWidth: 14, // maximum width of sub-menus in em units 24 extraWidth: 1 // extra width can ensure lines don't sometimes turn over 25 // due to slight rounding differences and font-family 26 }).superfish(); // call supersubs first, then superfish, so that subs are 27 // not display:none when measuring. Call before initialising 28 // containing tabs for same reason. 29 30 31 // Softbutton = soft fade on hover, used for social media icons 32 $(".softbutton a").stop().fadeTo("fast", .55); 33 $(".softbutton a").hover( 34 function(){ 35 $(this).stop().fadeTo("fast", 1); 36 }, 37 function(){ 38 $(this).stop().fadeTo("fast", .55); 39 } 40 ); 41 42 43 // Promo slider setup, inserted on when promo is in use to save bandwidth 44 45 $('#promos').cycle({ 46 fx: 'fade', 47 speed: 1000, 48 timeout: 3000, 49 pager: '#promo-nav', 50 pause: 1, 51 height: 400, 52 pauseOnPagerHover: 1, 53 fastOnEvent: 350, 54 pagerAnchorBuilder: function(idx, slide) { 55 return "#promo-nav li:eq("+ idx +") a"; 56 } 57 }); 58 59});// end jquery
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.