Changeset 8464 for trunk/MagicSoft/Mars/datacenter/db/menu.js
- Timestamp:
- 04/27/07 23:39:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/menu.js
r8420 r8464 85 85 { 86 86 if (primaries[i]==id2) 87 continue; 88 var el2 = document.getElementById(primaries[i]); 89 el2.style.display="none"; 90 var el3 = document.getElementById(primaries[i]+"2"); 91 if (el3.style.display=='inline') 92 var add=id2; 93 el3.style.display="none"; 87 { 88 var el2 = document.getElementById(primaries[i]); 89 el2.style.display="inline"; 90 var el4 = document.getElementById(primaries[i]+"3"); 91 el4.style.display="inline"; 92 var el6 = document.getElementById(primaries[i]+"4"); 93 el6.style.display="inline"; 94 } 95 else 96 { 97 var el2 = document.getElementById(primaries[i]); 98 el2.style.display="none"; 99 var el3 = document.getElementById(primaries[i]+"2"); 100 if (el3.style.display=='inline') 101 var add=id2; 102 el3.style.display="none"; 103 var el4 = document.getElementById(primaries[i]+"3"); 104 el4.style.display="none"; 105 var el5 = document.getElementById(primaries[i]+"4"); 106 el5.style.display="none"; 107 } 94 108 } 95 109 if (add) 96 110 { 97 var el 4= document.getElementById(id2+"2");98 el 4.style.display="inline";111 var el5 = document.getElementById(id2+"2"); 112 el5.style.display="inline"; 99 113 } 100 114 } … … 120 134 el2.style.display="inline"; 121 135 } 136 137 var el3 = document.getElementById("Range2"); 138 el3.style.display="inline"; 122 139 } 123 140 … … 129 146 el2.style.display="none"; 130 147 } 148 var el3 = document.getElementById("Range2"); 149 el3.style.display="none"; 131 150 } 132 151
Note:
See TracChangeset
for help on using the changeset viewer.