leftmenu.js
Upload User: jinglin
Upload Date: 2021-12-20
Package Size: 545k
Code Size: 8k
Development Platform:

VBScript

  1. function popleftmenu(url1){
  2. var
  3. popupa=window.open(url1,"leftmenu","width=650,height=500,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,left=0,top=0");
  4.   popupa.focus();
  5.   return false;
  6. }
  7. function popbig(url2){
  8. var
  9. popupb=window.open(url2,"bigwin","width=786,height=500,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,left=0,top=0");
  10.   popupb.focus();
  11.   return false;
  12. }
  13. var ltree=1;
  14. var lflag=""
  15. var lh=0;
  16. function printleft(ltree,lh) {
  17. if (ltree == 0)
  18.   lflag="";
  19. if (ltree == 1)
  20.   lflag="../";
  21. if (ltree == 2)
  22.   lflag="../../";
  23. if (ltree == 3)
  24.   lflag="../../../";
  25. document.write("      <table border='0' width='185' cellspacing='0' cellpadding='0'>");
  26. document.write("      <tr>");
  27. document.write("        <td width='160' align='left' valign='top'>");
  28. document.write("<table border='0' cellpadding='0' cellspacing='0' width='160'>");
  29. document.write("  <tr valign='top'>");
  30. document.write("   <td><img name='menu_r01_c1' src='"+lflag+"images/menu11.gif' width='160' height='24' border='0'></td>");
  31. document.write("  </tr>");
  32. document.write("  <tr valign='top'>");
  33. document.write("   <td><img name='menu_r02_c1' src='"+lflag+"images/menua1.gif' width='160' height='21' border='0' usemap='#menua1' alt='展会信息'></td>");
  34. document.write("  </tr>");
  35. document.write("  <tr valign='top'>");
  36. document.write("   <td><img name='menu_r03_c1' src='"+lflag+"images/menua2.gif' width='160' height='21' border='0' usemap='#menua2' alt='在线研讨'></td>");
  37. document.write("  </tr>");
  38. document.write("  <tr valign='top'>");
  39. document.write("   <td><img name='menu_r04_c1' src='"+lflag+"images/menua3.gif' width='160' height='20' border='0' usemap='#menua3' alt='产品推广'></td>");
  40. document.write("  </tr>");
  41. document.write("  <tr valign='top'>");
  42. document.write("   <td><img name='menu_r05_c1' src='"+lflag+"images/menua4.gif' width='160' height='21' border='0' usemap='#menua4' alt='新闻发布'></td>");
  43. document.write("  </tr>");
  44. document.write("  <tr valign='top'>");
  45. document.write("   <td><img name='menu_r06_c1' src='"+lflag+"images/menua5.gif' width='160' height='19' border='0' usemap='#menua5' alt='培训讲座'></td>");
  46. document.write("  </tr>");
  47. document.write("  <tr valign='top'>");
  48. document.write("   <td><img name='menu_r07_c1' src='"+lflag+"images/menua6.gif' width='160' height='21' border='0' usemap='#menua6' alt='其他'></td>");
  49. document.write("  </tr>");
  50. document.write("  <tr valign='top'>");
  51. document.write("   <td><img name='menu_r08_c1' src='"+lflag+"images/menu22.gif' width='160' height='36' border='0'></td>");
  52. document.write("  </tr>");
  53. document.write("  <tr valign='top'>");
  54. document.write("   <td><img name='menu_r09_c1' src='"+lflag+"images/menub1.gif' width='160' height='20' border='0' usemap='#menub1' alt='刊登预告'></td>");
  55. document.write("  </tr>");
  56. document.write("  <tr valign='top'>");
  57. document.write("   <td><img name='menu_r10_c1' src='"+lflag+"images/menub2.gif' width='160' height='20' border='0' usemap='#menub2' alt='邀约观众'></td>");
  58. document.write("  </tr>");
  59. document.write("  <tr valign='top'>");
  60. document.write("   <td><img name='menu_r11_c1' src='"+lflag+"images/menub3.gif' width='160' height='20' border='0' usemap='#menub3' alt='反馈分析'></td>");
  61. document.write("  </tr>");
  62. document.write("  <tr valign='top'>");
  63. document.write("   <td><img name='menu_r12_c1' src='"+lflag+"images/menub4.gif' width='160' height='21' border='0' usemap='#menub4' alt='技术保障'></td>");
  64. document.write("  </tr>");
  65. document.write("  <tr valign='top'>");
  66. document.write("   <td><img name='menu_r13_c1' src='"+lflag+"images/menub5.gif' width='160' height='20' border='0' usemap='#menub5' alt='延伸服务'></td>");
  67. document.write("  </tr>");
  68. document.write("  <tr valign='top'>");
  69. document.write("   <td><img name='menu_r14_c1' src='"+lflag+"images/menu33.gif' width='160' height='24' border='0'></td>");
  70. document.write("  </tr>");
  71. document.write("  <tr valign='top'>");
  72. document.write("   <td><img name='menu_r15_c1' src='"+lflag+"images/menuc1.gif' width='160' height='31' border='0' usemap='#menuc1' alt='服务信息'></td>");
  73. document.write("  </tr>");
  74. document.write("  <tr valign='top'>");
  75. document.write("   <td height=60 align=center valign=bottom><a href='http://www.ibm.com/cn' target='_blank'><img src='"+lflag+"images/ibm.gif' width=110 height=40 border=0></td>");
  76. document.write("  </tr>");
  77. document.write("</table>");
  78. document.write("<table border='0' cellpadding='0' cellspacing='0' width='160' height="+lh+" background='"+lflag+"images/bg.gif'>");
  79. document.write("<tr valign='top'><td>&nbsp;</td></tr></table>");
  80. document.write(" </td>");
  81. document.write("        <td width='25' align='left' valign='top' bgcolor='#ffffff'>&nbsp; </td>");
  82. document.write("      </tr>");
  83. document.write("    </table>");
  84. document.write("<map name='menua1'>");
  85. document.write("<area shape='rect' coords='47,0,143,20' onclick='return popleftmenu(this.href)' href='eventshow/eventshow.asp?eventtype=1' title=''>");
  86. document.write("<area shape='default' nohref>");
  87. document.write("</map>");
  88. document.write("<map name='menua2'>");
  89. document.write("<area shape='rect' coords='47,0,143,20' onclick='return popleftmenu(this.href)' href='eventshow/eventshow.asp?eventtype=5' title=''>");
  90. document.write("<area shape='default' nohref>");
  91. document.write("</map>");
  92. document.write("<map name='menua3'>");
  93. document.write("<area shape='rect' coords='47,0,143,20' onclick='return popleftmenu(this.href)' href='eventshow/eventshow.asp?eventtype=3' title=''>");
  94. document.write("<area shape='default' nohref>");
  95. document.write("</map>");
  96. document.write("<map name='menua4'>");
  97. document.write("<area shape='rect' coords='47,0,143,20' onclick='return popleftmenu(this.href)' href='eventshow/eventshow.asp?eventtype=4' title=''>");
  98. document.write("<area shape='default' nohref>");
  99. document.write("</map>");
  100. document.write("<map name='menua5'>");
  101. document.write("<area shape='rect' coords='47,0,143,20' onclick='return popleftmenu(this.href)' href='eventshow/eventshow.asp?eventtype=2' title=''>");
  102. document.write("<area shape='default' nohref>");
  103. document.write("</map>");
  104. document.write("<map name='menua6'>");
  105. document.write("<area shape='rect' coords='47,0,143,20' onclick='return popleftmenu(this.href)' href='eventshow/eventshow.asp?eventtype=6' title=''>");
  106. document.write("<area shape='default' nohref>");
  107. document.write("</map>");
  108. document.write("<map name='menub1'>");
  109. document.write("<area shape='rect' coords='47,0,132,19' href='s-yugao.asp' title=''>");
  110. document.write("<area shape='default' nohref>");
  111. document.write("</map>");
  112. document.write("<map name='menub2'>");
  113. document.write("<area shape='rect' coords='47,0,131,19' href='s-zuzhi.asp' title=''>");
  114. document.write("<area shape='default' nohref>");
  115. document.write("</map>");
  116. document.write("<map name='menub3'>");
  117. document.write("<area shape='rect' coords='46,0,131,19' href='s-fenxi.asp' title=''>");
  118. document.write("<area shape='default' nohref>");
  119. document.write("</map>");
  120. document.write("<map name='menub4'>");
  121. document.write("<area shape='rect' coords='46,0,133,19' href='s-zhichi.asp' title=''>");
  122. document.write("<area shape='default' nohref>");
  123. document.write("</map>");
  124. document.write("<map name='menub5'>");
  125. document.write("<area shape='rect' coords='48,0,131,19' href='s-fuwu.asp' title=''>");
  126. document.write("<area shape='default' nohref>");
  127. document.write("</map>");
  128. document.write("<map name='menuc1'>");
  129. document.write("<area shape='rect' coords='29,2,125,24' href='javascript:void(null)' title='' onMouseOver="MM_showHideLayers('document.layers[\'Layer3\']','document.all[\'Layer3\']','show')">");
  130. document.write("<area shape='default' nohref>");
  131. document.write("</map>");
  132. document.write("<map name='tuijian2'>");
  133. document.write("<area shape='rect' coords='244,6,341,33' onclick='return popleftmenu(this.href)' href='suggest/suggest.asp' title=''>");
  134. document.write("<area shape='default' nohref>");
  135. document.write("</map>");
  136. document.write("<map name='yugao2'>");
  137. document.write("<area shape='rect' coords='241,3,336,34' onclick='return popleftmenu(this.href)' href='forecast/forecast.asp' title=''>");
  138. document.write("<area shape='default' nohref>");
  139. document.write("</map>");
  140. document.write("<map name='baodao2'>");
  141. document.write("<area shape='rect' coords='244,8,336,33' onclick='return popleftmenu(this.href)' href='report/dispall.asp' title=''>");
  142. document.write("<area shape='default' nohref>");
  143. document.write("</map>");
  144. }