1$(document).ready(function() { 2 // Begin Drop Down PGN Navigation 3 $("ul.dropdown li").hover(function(){ 4 5 $(this).addClass("hover"); 6 $('ul:first',this).css('visibility', 'visible'); 7 8 }, function(){ 9 10 $(this).removeClass("hover"); 11 $('ul:first',this).css('visibility', 'hidden'); 12 13 }); 14 15 /* $("ul.dropdown li ul li:has(ul)").find("a:first").append(" » "); */ 16 17 //var config = { 18 // sensitivity: 3, // number = sensitivity threshold (must be 1 or higher) 19 // interval: 100, // number = milliseconds for onMouseOver polling interval 20 // over: doOpen, // function = onMouseOver callback (REQUIRED) 21 // timeout: 300, // number = milliseconds delay before onMouseOut 22 // out: doClose // function = onMouseOut callback (REQUIRED) 23 //}; 24 25 //function doOpen() { 26 // $(this).addClass("hover"); 27 // $('ul:first',this).css('visibility', 'visible'); 28 //} 29 30 //function doClose() { 31 // $(this).removeClass("hover"); 32 // $('ul:first',this).css('visibility', 'hidden'); 33 //} 34 35 // $("ul.dropdown li").hoverIntent(config); 36 37 /* $("ul.dropdown li ul li:has(ul)").find("a:first").append(" » "); */ 38 // End Drop Down PGN Navigation 39 40 // setup ul.tabs to work as tabs for each div directly under div.panes 41 /* $("ul.tabs").tabs("div.eventPanes > div", {initialIndex:'1'}); */ 42 $("ul.tabs").tabs("div.panes > div"); 43 $("ul.historyTabs").tabs("div.panes > div", { history: true }); 44 //$(".featureSlide").scrollable({circular: true, speed: 1000}).navigator().autoscroll({ autoplay:true, autopause: true, interval: 10000 }); 45 $(".footIcons img[title]").tooltip(); 46 $(".socialIcons img[title]").tooltip(); 47 $(".socialList a[title]").tooltip(); 48 49 // faq expand code 50 $(".faqclick > dd").hide(); 51 $(".faqclick > dt").click(function(){ 52 $(this).next().slideToggle(300); 53 }); 54 55 $(".faq-expandall").toggle(function(){ 56 $(this).text("- Hide All Answers") 57 $(".faqclick > dd").show(200); 58 }, function(){ 59 $(this).text("+ Show All Answers") 60 $(".faqclick > dd").hide(200); 61 }); 62 63 64 // plus expand code 65/* $(".plusclick > dd").hide(); 66 $(".plusclick > dt").click(function(){ 67 if ($(this).css("background").match(/plus/)) { 68 $(this).css("background", "url(/images/icons/minussign.gif) no-repeat 5px 2px"); 69 } else { 70 $(this).css("background", "url(/images/icons/plussign.gif) no-repeat 5px 2px"); 71 } 72 $(this).next().slideToggle(300); 73 }); 74*/ 75 $(".plusclick > dd").hide(); 76 $(".plusclick > dt").click(function(){ 77 if ($(this).css("background").match(/plus/)) { 78 $(this).css("background", "url(/images/icons/minusClick.png) no-repeat 5px 2px"); 79 $(this).css("background-size", "12px"); 80 } else { 81 $(this).css("background", "url(/images/icons/plusClick.png) no-repeat 5px 2px"); 82 $(this).css("background-size", "12px"); 83 } 84 $(this).next().slideToggle(300); 85 }); 86 87 $(".faq-expandall").toggle(function(){ 88 $(this).text("- Hide All Answers") 89 $(".faqclick > dd").show(200); 90 }, function(){ 91 $(this).text("+ Show All Answers") 92 $(".faqclick > dd").hide(200); 93 }); 94 /*------------------------------------------- 95 Grey Initial Values 96 -------------------------------------------*/ 97 var filled = $('input.filled'); 98 99 if(filled.length > 0){ 100 for(var i = 0; i < filled.length; i++){ 101 102 103 $(filled[i]).addClass('empty'); 104 filled[i].initialValue = filled[i].value; 105 106 filled[i].onclick = filled[i].onfocus = function(){ 107 $(this).removeClass('empty'); 108 $(this).addClass('filled'); 109 if(this.value == this.initialValue){ 110 this.value= ''; 111 } 112 } 113 114 filled[i].onblur = function(){ 115 if(this.value == this.initialValue || this.value == ''){ 116 $(this).addClass('empty'); 117 $(this).removeClass('filled'); 118 this.value = this.initialValue; 119 }else{ 120 $(this).addClass('empty'); 121 $(this).removeClass('filled'); 122 } 123 } 124 } 125 } 126 127 else 128 { 129 return; 130 } 131 132}); 133 134(function($){ 135 136 137})(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.