home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 85 / CD-ROM 85 / CD-ROM 85.iso / med2000 / js / menudropmodulo.js < prev    next >
Encoding:
Text File  |  2001-08-16  |  14.9 KB  |  312 lines

  1. menudroptemp = ''
  2. + '<table border="0" cellspacing="0" cellpadding="0">'
  3. + '<tr>'
  4. + '<td align="left" valign="top">'
  5. + '<div id="blockDivgeral" style="position:relative; left:0px; top:0px; width:1px; height:1px; z-index:99;">'
  6. + '<div id="menugeral" style="position:absolute; width:px; height:px; z-index:99; left: -26px; top: 12px; visibility: hidden; border: 0px none #000000" onMouseOut="hideObject(blockgeral)" onMouseOver="showObject(blockgeral)">'
  7. + '<table border="0" cellspacing="0" cellpadding="0">'
  8. + '<tr>'
  9. + '<td width="8" height="8"><img src="/med2000/gui/bordinhag01a.gif" width="8" height="8"></td>'
  10. + '<td bgcolor="#003366"><img src="/med2000/gui/1px.gif" width="1" height="1"></td>'
  11. + '<td width="8" height="8"><img src="/med2000/gui/bordinhag02a.gif" width="8" height="8"></td>'
  12. + '</tr>'
  13. + '<tr>'
  14. + '<td bgcolor="#003366" width="8"><img src="/med2000/gui/1px.gif" width="8" height="8"></td>'
  15. + '<td bgcolor="#003366">'
  16. + '<table border="0" cellspacing="0" cellpadding="4">'
  17. + '<tr align="center">'
  18. + '<td nowrap>'
  19. + '<div id="blockDiv1" style="position:relative; left:0px; top:0px; width:1px; height:1px;">'
  20. + '<div id="menu1" style="position:absolute; width:144px; height:px; z-index:98; left: -73px; top: +13px; visibility: hidden" onMouseOut="hideObject(block1)" onMouseOver="showObject(block1)">'
  21. + '<table width="100%" border="0" cellspacing="0" cellpadding="2">'
  22. + '<tr>'
  23. + '<td>'
  24. + '<table width="100%" border="0" cellspacing="0" cellpadding="0">'
  25. + '<tr>'
  26. + '<td width="8" height="8"><img src="/med2000/gui/bordfa01.gif" width="8" height="8"></td>'
  27. + '<td bgcolor="#006699" background="/med2000/gui/bordfa02.gif"><img src="/med2000/gui/bordfa02.gif" width="8" height="8"></td>'
  28. + '<td width="8" height="8"><img src="/med2000/gui/bordfa03.gif" width="8" height="8"></td>'
  29. + '</tr>'
  30. + '<tr>'
  31. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa08.gif"><img src="/med2000/gui/bordfa08.gif" width="8" height="8"></td>'
  32. + '<td bgcolor="#006699">'
  33. + '<table width="100%" border="0" cellspacing="0" cellpadding="2">'
  34. + '<tr bgcolor="#006699">'
  35. + '<td class="boxes-titulo1" align="center"><a href="/med2000/joia.htm" style="color:#FFCC00">Página principal</a></td>'
  36. + '</tr>'
  37. + '</table>'
  38. + '</td>'
  39. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa04.gif"><img src="/med2000/gui/bordfa04.gif" width="8" height="8"></td>'
  40. + '</tr>'
  41. + '<tr>'
  42. + '<td width="8" height="8"><img src="/med2000/gui/bordfa07.gif" width="8" height="8"></td>'
  43. + '<td bgcolor="#006699" background="/med2000/gui/bordfa06.gif"><img src="/med2000/gui/bordfa06.gif" width="8" height="8"></td>'
  44. + '<td width="3" height="3"><img src="/med2000/gui/bordfa05.gif" width="8" height="8"></td>'
  45. + '</tr>'
  46. + '</table>'
  47. + '</td>'
  48. + '</tr>'
  49. + '</table>'
  50. + '</div>'
  51. + '</div>'
  52. + '<table border="0" cellspacing="0" cellpadding="0">'
  53. + '<tr>'
  54. + '<td><img src="/med2000/gui/menuitemborda01.gif" width="6" height="12"></td>'
  55. + '<td><a href="javascript:" onMouseOut="hideObject(block1)" onClick="showObject(block1)"><img src="/med2000/gui/menutb01.gif" width="36" height="12" border="0"></a></td>'
  56. + '<td><img src="/med2000/gui/menuitemborda02.gif" width="6" height="12"></td>'
  57. + '</tr>'
  58. + '</table>'
  59. + '</td>'
  60. + '</tr>'
  61. + '<tr align="center">'
  62. + '<td nowrap>'
  63. + '<div id="blockDiv2" style="position:relative; left:0px; top:0px; width:1px; height:1px;">'
  64. + '<div id="menu2" style="position:absolute; width:144px; height:px; z-index:98; left: -73px; top: +13px; visibility: hidden" onMouseOut="hideObject(block2)" onMouseOver="showObject(block2)">'
  65. + '<table width="100%" border="0" cellspacing="0" cellpadding="2">'
  66. + '<tr>'
  67. + '<td>'
  68. + '<table width="100%" border="0" cellspacing="0" cellpadding="0">'
  69. + '<tr>'
  70. + '<td width="8" height="8"><img src="/med2000/gui/bordfa01.gif" width="8" height="8"></td>'
  71. + '<td bgcolor="#006699" background="/med2000/gui/bordfa02.gif"><img src="/med2000/gui/bordfa02.gif" width="8" height="8"></td>'
  72. + '<td width="8" height="8"><img src="/med2000/gui/bordfa03.gif" width="8" height="8"></td>'
  73. + '</tr>'
  74. + '<tr>'
  75. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa08.gif"><img src="/med2000/gui/bordfa08.gif" width="8" height="8"></td>'
  76. + '<td bgcolor="#006699">'
  77. + '<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#006699">'
  78. + '<tr>'
  79. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/atlasb/main.htm" style="color:ffcc00">Atlas Brasileiro</a></td>'
  80. + '</tr>'
  81. + '<tr>'
  82. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/atlasg/main.htm" style="color:ffcc00">Atlas Mundial</a></td>'
  83. + '</tr>'
  84. + '</table>'
  85. + '</td>'
  86. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa04.gif"><img src="/med2000/gui/bordfa04.gif" width="8" height="8"></td>'
  87. + '</tr>'
  88. + '<tr>'
  89. + '<td width="8" height="8"><img src="/med2000/gui/bordfa07.gif" width="8" height="8"></td>'
  90. + '<td bgcolor="#006699" background="/med2000/gui/bordfa06.gif"><img src="/med2000/gui/bordfa06.gif" width="8" height="8"></td>'
  91. + '<td width="3" height="3"><img src="/med2000/gui/bordfa05.gif" width="8" height="8"></td>'
  92. + '</tr>'
  93. + '</table>'
  94. + '</td>'
  95. + '</tr>'
  96. + '</table>'
  97. + '</div>'
  98. + '</div>'
  99. + '<table border="0" cellspacing="0" cellpadding="0">'
  100. + '<tr>'
  101. + '<td><img src="/med2000/gui/menuitemborda01.gif" width="6" height="12"></td>'
  102. + '<td><a href="javascript:" onMouseOut="hideObject(block2)" onClick="showObject(block2)"><img src="/med2000/gui/menutb03.gif" width="68" height="12" border="0"></a></td>'
  103. + '<td><img src="/med2000/gui/menuitemborda02.gif" width="6" height="12"></td>'
  104. + '</tr>'
  105. + '</table>'
  106. + '</td>'
  107. + '</tr>'
  108. + '<tr align="center">'
  109. + '<td nowrap>'
  110. + '<div id="blockDiv3" style="position:relative; left:0px; top:0px; width:1px; height:1px;">'
  111. + '<div id="menu3" style="position:absolute; width:144px; height:px; z-index:98; left: -73px; top: +13px; visibility: hidden" onMouseOut="hideObject(block3)" onMouseOver="showObject(block3)">'
  112. + '<table width="100%" border="0" cellspacing="0" cellpadding="2">'
  113. + '<tr>'
  114. + '<td>'
  115. + '<table width="100%" border="0" cellspacing="0" cellpadding="0">'
  116. + '<tr>'
  117. + '<td width="8" height="8"><img src="/med2000/gui/bordfa01.gif" width="8" height="8"></td>'
  118. + '<td bgcolor="#006699" background="/med2000/gui/bordfa02.gif"><img src="/med2000/gui/bordfa02.gif" width="8" height="8"></td>'
  119. + '<td width="8" height="8"><img src="/med2000/gui/bordfa03.gif" width="8" height="8"></td>'
  120. + '</tr>'
  121. + '<tr>'
  122. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa08.gif"><img src="/med2000/gui/bordfa08.gif" width="8" height="8"></td>'
  123. + '<td bgcolor="#006699">'
  124. + '<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#006699">'
  125. + '<tr>'
  126. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/atlast/main.htm" style="color:ffcc00">Astronomia</a></td>'
  127. + '</tr>'
  128. + '<tr>'
  129. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/tabela/main.htm" style="color:ffcc00">Tabela Periódica</a></td>'
  130. + '</tr>'
  131. + '<tr>'
  132. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/conv/main.htm" style="color:ffcc00">Calculadora e Conversor</a></td>'
  133. + '</tr>'
  134. + '</table>'
  135. + '</td>'
  136. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa04.gif"><img src="/med2000/gui/bordfa04.gif" width="8" height="8"></td>'
  137. + '</tr>'
  138. + '<tr>'
  139. + '<td width="8" height="8"><img src="/med2000/gui/bordfa07.gif" width="8" height="8"></td>'
  140. + '<td bgcolor="#006699" background="/med2000/gui/bordfa06.gif"><img src="/med2000/gui/bordfa06.gif" width="8" height="8"></td>'
  141. + '<td width="3" height="3"><img src="/med2000/gui/bordfa05.gif" width="8" height="8"></td>'
  142. + '</tr>'
  143. + '</table>'
  144. + '</td>'
  145. + '</tr>'
  146. + '</table>'
  147. + '</div>'
  148. + '</div>'
  149. + '<table border="0" cellspacing="0" cellpadding="0">'
  150. + '<tr>'
  151. + '<td><img src="/med2000/gui/menuitemborda01.gif" width="6" height="12" border="0"></td>'
  152. + '<td><a href="javascript:" onMouseOut="hideObject(block3)" onClick="showObject(block3)"><img src="/med2000/gui/menutb02.gif" width="55" height="12" border="0"></a></td>'
  153. + '<td><img src="/med2000/gui/menuitemborda02.gif" width="6" height="12" border="0"></td>'
  154. + '</tr>'
  155. + '</table>'
  156. + '</td>'
  157. + '</tr>'
  158. + '<tr align="center">'
  159. + '<td nowrap>'
  160. + '<div id="blockDiv4" style="position:relative; left:0px; top:0px; width:1px; height:1px;">'
  161. + '<div id="menu4" style="position:absolute; width:144px; height:px; z-index:98; left: -73px; top: +13px; visibility: hidden" onMouseOut="hideObject(block4)" onMouseOver="showObject(block4)">'
  162. + '<table width="100%" border="0" cellspacing="0" cellpadding="2">'
  163. + '<tr>'
  164. + '<td>'
  165. + '<table width="100%" border="0" cellspacing="0" cellpadding="0">'
  166. + '<tr>'
  167. + '<td width="8" height="8"><img src="/med2000/gui/bordfa01.gif" width="8" height="8"></td>'
  168. + '<td bgcolor="#006699" background="/med2000/gui/bordfa02.gif"><img src="/med2000/gui/bordfa02.gif" width="8" height="8"></td>'
  169. + '<td width="8" height="8"><img src="/med2000/gui/bordfa03.gif" width="8" height="8"></td>'
  170. + '</tr>'
  171. + '<tr>'
  172. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa08.gif"><img src="/med2000/gui/bordfa08.gif" width="8" height="8"></td>'
  173. + '<td bgcolor="#006699">'
  174. + '<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#006699">'
  175. + '<tr>'
  176. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/constit/main.htm" style="color:ffcc00">Constituição Brasileira</a></td>'
  177. + '</tr>'
  178. + '<tr>'
  179. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/transito/main.htm" style="color:ffcc00">Código de Trânsito</a></td>'
  180. + '</tr>'
  181. + '<tr>'
  182. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/consumi/main.htm" style="color:ffcc00">Defesa do Consumidor</a></td>'
  183. + '</tr>'
  184. + '</table>'
  185. + '</td>'
  186. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa04.gif"><img src="/med2000/gui/bordfa04.gif" width="8" height="8"></td>'
  187. + '</tr>'
  188. + '<tr>'
  189. + '<td width="8" height="8"><img src="/med2000/gui/bordfa07.gif" width="8" height="8"></td>'
  190. + '<td bgcolor="#006699" background="/med2000/gui/bordfa06.gif"><img src="/med2000/gui/bordfa06.gif" width="8" height="8"></td>'
  191. + '<td width="3" height="3"><img src="/med2000/gui/bordfa05.gif" width="8" height="8"></td>'
  192. + '</tr>'
  193. + '</table>'
  194. + '</td>'
  195. + '</tr>'
  196. + '</table>'
  197. + '</div>'
  198. + '</div>'
  199. + '<table border="0" cellspacing="0" cellpadding="0">'
  200. + '<tr>'
  201. + '<td><img src="/med2000/gui/menuitemborda01.gif" width="6" height="12"></td>'
  202. + '<td><a href="javascript:" onMouseOut="hideObject(block4)" onClick="showObject(block4)"><img src="/med2000/gui/menutb05.gif" width="73" height="12" border="0"></a></td>'
  203. + '<td><img src="/med2000/gui/menuitemborda02.gif" width="6" height="12"></td>'
  204. + '</tr>'
  205. + '</table>'
  206. + '</td>'
  207. + '</tr>'
  208. + '<tr align="center">'
  209. + '<td nowrap>'
  210. + '<div id="blockDiv5" style="position:relative; left:0px; top:0px; width:1px; height:1px;">'
  211. + '<div id="menu5" style="position:absolute; width:144px; height:px; z-index:98; left: -73px; top: +13px; visibility: hidden" onMouseOut="hideObject(block5)" onMouseOver="showObject(block5)">'
  212. + '<table width="100%" border="0" cellspacing="0" cellpadding="2">'
  213. + '<tr>'
  214. + '<td>'
  215. + '<table width="100%" border="0" cellspacing="0" cellpadding="0">'
  216. + '<tr>'
  217. + '<td width="8" height="8"><img src="/med2000/gui/bordfa01.gif" width="8" height="8"></td>'
  218. + '<td bgcolor="#006699" background="/med2000/gui/bordfa02.gif"><img src="/med2000/gui/bordfa02.gif" width="8" height="8"></td>'
  219. + '<td width="8" height="8"><img src="/med2000/gui/bordfa03.gif" width="8" height="8"></td>'
  220. + '</tr>'
  221. + '<tr>'
  222. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa08.gif"><img src="/med2000/gui/bordfa08.gif" width="8" height="8"></td>'
  223. + '<td bgcolor="#006699">'
  224. + '<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#006699">'
  225. + '<tr>'
  226. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/orq/main.htm" style="color:ffcc00">Música</a></td>'
  227. + '</tr>'
  228. + '<tr>'
  229. + '<td class="boxes-titulo1" align="center"><a href="/med2000/painel/timeline/main.htm" style="color:ffcc00">Linha do Tempo</a></td>'
  230. + '</tr>'
  231. + '<tr>'
  232. + '<td class="boxes-titulo1" align="center"><a href="/med2000/videos/videos.htm" style="color:ffcc00">Sala de Vídeos</a></td>'
  233. + '</tr>'
  234. + '<tr>'
  235. + '<td class="boxes-titulo1" align="center"><a href="/med2000/eventos/revista/04/index.htm" style="color:ffcc00">Destaques do Mês</a></td>'
  236. + '</tr>'
  237. + '</table>'
  238. + '</td>'
  239. + '<td bgcolor="#006699" width="8" background="/med2000/gui/bordfa04.gif"><img src="/med2000/gui/bordfa04.gif" width="8" height="8"></td>'
  240. + '</tr>'
  241. + '<tr>'
  242. + '<td width="8" height="8"><img src="/med2000/gui/bordfa07.gif" width="8" height="8"></td>'
  243. + '<td bgcolor="#006699" background="/med2000/gui/bordfa06.gif"><img src="/med2000/gui/bordfa06.gif" width="8" height="8"></td>'
  244. + '<td width="3" height="3"><img src="/med2000/gui/bordfa05.gif" width="8" height="8"></td>'
  245. + '</tr>'
  246. + '</table>'
  247. + '</td>'
  248. + '</tr>'
  249. + '</table>'
  250. + '</div>'
  251. + '</div>'
  252. + '<table border="0" cellspacing="0" cellpadding="0">'
  253. + '<tr>'
  254. + '<td><img src="/med2000/gui/menuitemborda01.gif" width="6" height="12"></td>'
  255. + '<td><a href="javascript:" onMouseOut="hideObject(block5)" onClick="showObject(block5)"><img src="/med2000/gui/menutb04.gif" width="71" height="12" border="0"></a></td>'
  256. + '<td><img src="/med2000/gui/menuitemborda02.gif" width="6" height="12"></td>'
  257. + '</tr>'
  258. + '</table>'
  259. + '</td>'
  260. + '</tr>'
  261. + '</table>'
  262. + '</td>'
  263. + '<td bgcolor="#003366" width="8"><img src="/med2000/gui/1px.gif" width="8" height="8"></td>'
  264. + '</tr>'
  265. + '<tr>'
  266. + '<td width="8" height="8"><img src="/med2000/gui/bordinhag03a.gif" width="8" height="8"></td>'
  267. + '<td bgcolor="#003366"><img src="/med2000/gui/1px.gif" width="1" height="1"></td>'
  268. + '<td width="3" height="3"><img src="/med2000/gui/bordinhag04a.gif" width="8" height="8"></td>'
  269. + '</tr>'
  270. + '</table>'
  271. + '</div>'
  272. + '</div>'
  273. + '</td>'
  274. + '<td align="left" valign="top"><a href="javascript:" onMouseOut="hideObject(blockgeral)" onMouseOver="showObject(blockgeral)"><img src="/med2000/gui/menu.gif" width="55" height="12" border="0"></a></td>'
  275. + '</tr>'
  276. + '</table>'
  277. + '';
  278. document.write (menudroptemp);
  279.  
  280. // rotina inicia
  281.  
  282. ns4 = (document.layers)? true:false
  283. ie4 = (document.all)? true:false
  284.  
  285.  
  286. if (ns4) block1 = document.menu1
  287. if (ie4) block1 = menu1.style
  288. if (ns4) block2 = document.menu2
  289. if (ie4) block2 = menu2.style
  290. if (ns4) block3 = document.menu3
  291. if (ie4) block3 = menu3.style
  292. if (ns4) block4 = document.menu4
  293. if (ie4) block4 = menu4.style
  294. if (ns4) block5 = document.menu5
  295. if (ie4) block5 = menu5.style
  296. if (ns4) blockgeral = document.menugeral
  297. if (ie4) blockgeral = menugeral.style
  298.  
  299. // Show/Hide functions for pointer objects
  300.  
  301. function showObject(obj) {
  302.     if (ns4) obj.visibility = "show"
  303.     else if (ie4) obj.visibility = "visible"
  304. }
  305.  
  306. function hideObject(obj) {
  307.     if (ns4) obj.visibility = "hide"
  308.     else if (ie4) obj.visibility = "hidden"
  309. }
  310.  
  311.  
  312.