1function hideshow(target, actionLink) { 2 var pnlSearchForm = document.getElementById(target); 3 var hypHideShow = document.getElementById(actionLink); 4 5 if (pnlSearchForm.style.display == "none") { 6 pnlSearchForm.style.display = 'block'; 7 //hypHideShow.text = "hide"; 8 hypHideShow.className = "linkHide"; 9 } 10 else if (pnlSearchForm.style.display == "block") { 11 pnlSearchForm.style.display = 'none'; 12 //hypHideShow.text = "show"; 13 hypHideShow.className = "linkShow"; 14 } 15 else { 16 pnlSearchForm.style.display = 'block'; 17 //hypHideShow.text = "hide"; 18 hypHideShow.className = "linkHide"; 19 } 20} 21 22function loginHideshow(target, actionLink) { 23 var pnlLoginDetailsForm = document.getElementById(target); 24 var hypHideShow = document.getElementById(actionLink); 25 26 if (pnlLoginDetailsForm.style.display == "none") { 27 pnlLoginDetailsForm.style.display = 'block'; 28 //hypHideShow.text = "hide"; 29 hypHideShow.className = "linkShow"; 30 if (length == 0) { 31 pnlLoginDetailsForm.hide(); 32 } 33 } 34 else if (pnlLoginDetailsForm.style.display == "block") { 35 pnlLoginDetailsForm.style.display = 'none'; 36 //hypHideShow.text = "show"; 37 hypHideShow.className = "linkShow"; 38 if (length == 0) { 39 pnlLoginDetailsForm.hide(); 40 } 41 } 42 else { 43 pnlLoginDetailsForm.style.display = 'block'; 44 //hypHideShow.text = "hide"; 45 hypHideShow.className = "linkShow"; 46 if (length == 0) { 47 pnlLoginDetailsForm.hide(); 48 } 49 } 50} 51 52function setDropDown(container, target, actionLink) { 53 $("#" + target).hide(); 54 55// $("#" + actionLink).mouseover(function(e) { 56// e.preventDefault(); 57// $("#" + target).show(); 58// }); 59 60 $("#" + container).hover(function() { 61 $("#" + target).show(); 62 }, function() { 63 setTimeout(function() { 64 if (!$("#" + actionLink).hasClass("active")) { 65 $("#" + target).hide(); 66 } 67 }, 100); 68 }); 69 70 $("#" + actionLink).hover(function() { 71 if (!$("#" + actionLink).hasClass("active")) { 72 $("#" + actionLink).addClass("active"); 73 //$("#" + container).addClass("active"); 74 } 75 76 $("#" + container).addClass("active"); 77 $("#" + target).show(); 78 }, function() { 79 $("#" + actionLink).removeClass("active"); 80 $("#" + container).removeClass("active"); 81 $("#" + target).hide(); 82 }); 83 84// $("#" + target).mouseup(function() { 85// return false; 86// }); 87// $("#" + container).mouseleave(function(e) { 88// if ($(e.target).parent("#" + actionLink).length == 0) { 89// $("#" + target).hide(); 90// } 91// }); 92} 93 94function setDropDownSub2(container, target, actionLink, arrow) { 95 $("#" + target).hide(); 96 $("#" + arrow).hide(); 97 98 $("#" + actionLink).hover(function() { 99 $("#" + target).show(); 100 $("#" + arrow).show(); 101 }, function() { 102 setTimeout(function() { 103 if (!$("#" + target).hasClass("active")) { 104 $("#" + target).hide(); 105 $("#" + arrow).hide(); 106 } 107 }, 100); 108 }); 109 110 $("#" + target).mouseup(function() { 111 return false; 112 }); 113 114 $("#" + target).hover(function() { 115 if (!$("#" + target).hasClass("active")) { 116 $("#" + target).addClass("active"); 117 } 118 119 $("#" + target).show(); 120 }, function() { 121 $("#" + target).removeClass("active"); 122 $("#" + target).hide(); 123 $("#" + arrow).hide(); 124 }); 125} 126 127//function loginHideshow(target, actionLink) { 128// var pnlLoginDetailsForm = document.getElementById(target); 129// var hypHideShow = document.getElementById(actionLink); 130 131// $(document).ready(function() { 132 133// $(".hypHideShow").click(function(e) { 134// $(pnlLoginDetailsForm).toogle();
135// $(".hypHideShow").toogleClass("linkShow"); 136// }); 137 138// $(document).mouseup(function() { 139// $(".hypHideShow").removeClass("linkShow"); 140// $(pnlLoginDetailsForm).hide(); 141// }); 142 143// } 144// ); 145//}
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.