1ddaccordion.init({ 2 headerclass: "expandable-ms", //Shared CSS class name of headers group that are expandable 3 contentclass: "categoryitems", //Shared CSS class name of contents group 4 revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover" 5 mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover 6 collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 7 defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content 8 reclickcloses: true, //specify if re-clicking an open header closes it 9 onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed) 10 animatedefault: false, //Should contents open by default be animated into view? 11 persiststate: true, //persist state of opened contents within browser session? 12 toggleclass: ["", "openheader"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"] 13 togglehtml: ["prefix", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs) 14 animatespeed: 100, //"fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow" 15 oninit:function(headers, expandedindices){ //custom code to run when headers have initalized 16 //do nothing 17 }, 18 onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed 19 //do nothing 20 } 21}) 22 23ddaccordion.init({ 24 headerclass: "expandable-ss", //Shared CSS class name of headers group that are expandable 25 contentclass: "subcategoryitems", //Shared CSS class name of contents group 26 revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover" 27 mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover 28 collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 29 defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content 30 onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed) 31 reclickcloses: true, //specify if re-clicking an open header closes it 32 animatedefault: false, //Should contents open by default be animated into view? 33 persiststate: true, //persist state of opened contents within browser session? 34 toggleclass: ["", "subopenheader"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"] 35 togglehtml: ["prefix", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs) 36 animatespeed: 100, //"fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow" 37 oninit:function(headers, expandedindices){ //custom code to run when headers have initalized 38 //do nothing 39 }, 40 onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed 41 //do nothing 42 } 43}) 44 45/*********************************************** 46* Contractible Headers script- © Dynamic Drive (www.dynamicdrive.com) 47* This notice must stay intact for legal use. Last updated Mar 23rd, 2004. 48* Visit http://www.dynamicdrive.com/ for full source code 49***********************************************/ 50 51var enablepersist="off" //Enable saving state of content structure using session cookies? (on/off) 52var collapseprevious="yes" //Collapse previously open content when opening present? (yes/no) 53 54if (document.getElementById){
55document.write('<style type="text/css">') 56document.write('.switchcontent{display:none;}') 57document.write('</style>') 58} 59 60function getElementbyClass(classname){ 61ccollect=new Array() 62var inc=0 63var alltags=document.all? document.all : document.getElementsByTagName("*") 64for (i=0; i<alltags.length; i++){ 65if (alltags[i].className==classname) 66ccollect[inc++]=alltags[i] 67} 68} 69 70function contractcontent(omit){ 71var inc=0 72while (ccollect[inc]){ 73if (ccollect[inc].id!=omit) 74ccollect[inc].style.display="none" 75inc++ 76} 77} 78 79function expandcontent(cid){ 80if (typeof ccollect!="undefined"){ 81if (collapseprevious=="yes") 82contractcontent(cid) 83document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none" 84} 85} 86 87function revivecontent(){ 88contractcontent("omitnothing") 89selectedItem=getselectedItem() 90selectedComponents=selectedItem.split("|") 91for (i=0; i<selectedComponents.length-1; i++) 92document.getElementById(selectedComponents[i]).style.display="block" 93} 94 95function get_cookie(Name) { 96var search = Name + "=" 97var returnvalue = ""; 98if (document.cookie.length > 0) { 99offset = document.cookie.indexOf(search) 100if (offset != -1) { 101offset += search.length 102end = document.cookie.indexOf(";", offset); 103if (end == -1) end = document.cookie.length; 104returnvalue=unescape(document.cookie.substring(offset, end)) 105} 106} 107return returnvalue; 108} 109 110function getselectedItem(){ 111if (get_cookie(window.location.pathname) != ""){ 112selectedItem=get_cookie(window.location.pathname) 113return selectedItem 114} 115else 116return "" 117} 118 119function saveswitchstate(){ 120var inc=0, selectedItem="" 121while (ccollect[inc]){ 122if (ccollect[inc].style.display=="block") 123selectedItem+=ccollect[inc].id+"|" 124inc++ 125} 126 127document.cookie=window.location.pathname+"="+selectedItem 128} 129 130function do_onload(){ 131uniqueidn=window.location.pathname+"firsttimeload" 132getElementbyClass("switchcontent")
133if (enablepersist=="on" && typeof ccollect!="undefined"){ 134document.cookie=(get_cookie(uniqueidn)=="")? uniqueidn+"=1" : uniqueidn+"=0" 135firsttimeload=(get_cookie(uniqueidn)==1)? 1 : 0 //check if this is 1st page load 136if (!firsttimeload) 137revivecontent() 138} 139} 140 141 142if (window.addEventListener) 143window.addEventListener("load", do_onload, false) 144else if (window.attachEvent) 145window.attachEvent("onload", do_onload) 146else if (document.getElementById) 147window.onload=do_onload 148 149if (enablepersist=="on" && document.getElementById) 150window.onunload=saveswitchstate 151
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.