请教一个问题 http://xml.sz.luohuedu.net/xml/CoolMenu/main.htm 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 一个例子<html><head><meta http-equiv="Content-Language" content="zh-cn"><meta name="GENERATOR" content="Microsoft FrontPage 5.0"><meta name="ProgId" content="FrontPage.Editor.Document"><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>新建网页 1</title></head><script language="javascript">function show(n){ switch (n) { case 1: init(); document.all.tb01.style.display = ""; break; case 2: init(); document.all.tb02.style.display = ""; break; case 3: init(); document.all.tb03.style.display = ""; break; case 4: init(); document.all.tb04.style.display = ""; break; case 5: init(); document.all.tb05.style.display = ""; break; case 6: init(); document.all.tb06.style.display = ""; break; defautl:; }}function init(){ document.all.tb01.style.display = "none"; document.all.tb02.style.display = "none"; document.all.tb03.style.display = "none"; document.all.tb04.style.display = "none"; document.all.tb05.style.display = "none"; document.all.tb06.style.display = "none";}</script><body><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="600" height="16"> <tr> <td width="16%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(1);">演出</td> <td width="16%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(2);">电影</td> <td width="17%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(3);">体育</td> <td width="17%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(4);">礼品</td> <td width="17%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(5);">展览</td> <td width="17%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(6);">交通</td> </tr></table><table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb01" style="display:none"> <tr> <td width="50%" align="center" height="16">演出一</td> <td width="50%" align="center" height="16">演出二</td> </tr></table><table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb02" style="display:none"> <tr> <td width="50%" align="center" height="16">电影一</td> <td width="50%" align="center" height="16">电影二</td> </tr></table><table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb03" style="display:none"> <tr> <td width="50%" align="center" height="16">体育一</td> <td width="50%" align="center" height="16">体育二</td> </tr></table><table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb04" style="display:none"> <tr> <td width="50%" align="center" height="16">礼品一</td> <td width="50%" align="center" height="16">礼品二</td> </tr></table><table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb05" style="display:none"> <tr> <td width="50%" align="center" height="16">展览一</td> <td width="50%" align="center" height="16">展览二</td> </tr></table><table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb06" style="display:none"> <tr> <td width="50%" align="center" height="16">交通一</td> <td width="50%" align="center" height="16">交通二</td> </tr></table></body></html> JS数组存取问题 在不同的网页要共用一个js变量怎么办?在css里要如何读取这个js变量的值? url dhDataGrid Ver1.0.0发布 用javascript怎么控制swf文件的播放音量? script编码的问题,比较有难度,估计大家没看过 请教 一个小小问题 javascript中可以使用jsp中的变量吗? 百度地图坐标问题 请问,下拉菜单能否编辑 textarea简单问题
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head>
<script language="javascript">
function show(n)
{
switch (n)
{
case 1:
init();
document.all.tb01.style.display = "";
break;
case 2:
init();
document.all.tb02.style.display = "";
break;
case 3:
init();
document.all.tb03.style.display = "";
break;
case 4:
init();
document.all.tb04.style.display = "";
break;
case 5:
init();
document.all.tb05.style.display = "";
break;
case 6:
init();
document.all.tb06.style.display = "";
break;
defautl:;
}
}
function init()
{
document.all.tb01.style.display = "none";
document.all.tb02.style.display = "none";
document.all.tb03.style.display = "none";
document.all.tb04.style.display = "none";
document.all.tb05.style.display = "none";
document.all.tb06.style.display = "none";
}
</script>
<body><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="600" height="16">
<tr>
<td width="16%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(1);">演出</td>
<td width="16%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(2);">电影</td>
<td width="17%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(3);">体育</td>
<td width="17%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(4);">礼品</td>
<td width="17%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(5);">展览</td>
<td width="17%" align="center" height="16" onmouseover="this.style.cursor = 'hand';show(6);">交通</td>
</tr>
</table>
<table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb01" style="display:none">
<tr>
<td width="50%" align="center" height="16">演出一</td>
<td width="50%" align="center" height="16">演出二</td>
</tr>
</table>
<table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb02" style="display:none">
<tr>
<td width="50%" align="center" height="16">电影一</td>
<td width="50%" align="center" height="16">电影二</td>
</tr>
</table>
<table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb03" style="display:none">
<tr>
<td width="50%" align="center" height="16">体育一</td>
<td width="50%" align="center" height="16">体育二</td>
</tr>
</table>
<table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb04" style="display:none">
<tr>
<td width="50%" align="center" height="16">礼品一</td>
<td width="50%" align="center" height="16">礼品二</td>
</tr>
</table>
<table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb05" style="display:none">
<tr>
<td width="50%" align="center" height="16">展览一</td>
<td width="50%" align="center" height="16">展览二</td>
</tr>
</table>
<table border="1" cellpadding="0" cellspacing="0" width="200" height="16" id="tb06" style="display:none">
<tr>
<td width="50%" align="center" height="16">交通一</td>
<td width="50%" align="center" height="16">交通二</td>
</tr>
</table></body></html>