http://www.dali-infrared.com
哦。才看到网知错了
哦。才看到网知错了
解决方案 »
- 网页中的javascript脚本写入到js文件引用怎么不行呀
- js 本地操作 access 无法添加记录。报错
- insertbefore相反作用?
- JS如何得到left,top
- 我用PHP返回的数据应该怎样编码,现在中文显示的都是?????
- 用javascript分析读取SVG/XML格式的内容
- 大家帮我看看,这条代码错在哪里?
- js 正则表达式问题 匹配非负数字
- 用Javascript捕获用户在IE的操作如“另存为”,“添加到收藏夹”,必送分!!!!
- JavaScript有没有对对象数组进行排序的方法?
- 急急急,谁能说一下xmlhttp的技术要点和一般的实现方法
- 怎么用JS来控制提交时的请求参数?
把如下代码加入<body>区域中
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var linktext=new Array()
linktext[0]='<table border="0" width="210" height="185" bgcolor="#EFEFEF" cellpadding="8" cellspacing="0"><tr><td valign="top"><font face="arial" size="4"><b>国内最大的建站类资源站点</b></font></td></tr></table>'
linktext[1]='<table border="0" width="210" height="185" bgcolor="#D1FD80" cellpadding="8" cellspacing="0"><tr><td valign="top"><font face="arial" size="4"><b>国内最大的也是最有名的游戏网站-第九城市</b></font></td></tr></table>'
linktext[2]='<table border="0" width="210" height="185" bgcolor="#FDB9FD" cellpadding="8" cellspacing="0"><tr><td valign="top"><font face="arial" size="4"><b>国内最大的新闻发布类站点-新浪网</b></font></td></tr></table>'
linktext[3]='<table border="0" width="210" height="185" bgcolor="#FFFF5E" cellpadding="8" cellspacing="0"><tr><td valign="top"><font face="arial" size="4"><b>国内最大的综合性娱乐站点--网易</b></font></td></tr></table>'
linktext[4]='<table border="0" width="210" height="185" bgcolor="#C2D7FC" cellpadding="8" cellspacing="0"><tr><td valign="top"><font face="arial" size="4"><b>最大的搜索引擎站点...搜狐</b></font></td></tr></table>'
var ns6=document.getElementById&&!document.all
var ie=document.all
function show_text(thetext, whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=linktext[thetext]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext] }
function reset(whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML='<table border="0" width="210" height="185" bgcolor="#F88530" cellpadding="0" cellspacing="8"><tr><td valign="top"><font face="arial" size="4"><b>请把鼠标放到左侧相应的导航栏目上<p>看到变化效果了吗?</b></font></td></tr></table>'
else if (ns6) document.getElementById(whichdiv).innerHTML='<table border="0" width="210" height="185" bgcolor="#F88530" cellpadding="8" cellspacing="0"><tr><td valign="top"><font face="arial" size="4"><b>请把鼠标放到左侧相应的导航栏目上<p>看到变化效果了吗?</b></font></td></tr></table>'}
// End -->
</script>
<table border="0" width="370" bgcolor="black" cellpadding="3" cellspacing="0" align="center">
<tr><td><table border="0" background="stuff/index_background.gif" width="370" cellpadding="0" cellspacing="0">
<tr><td><table border="0" width="160" bgcolor="#F88530" cellpadding="8" cellspacing="0">
<tr>
<td onclick="window.location='http://www.hjwl.net'" onmouseover="bgColor='#EFEFEF'; show_text(0,'div1')" onmouseout="bgColor='#F88530'; reset('div1')" style="cursor:pointer; cursor:hand"><font face="arial" size="4"><b>好极网络</b></font></td>
</tr>
<tr>
<td onclick="window.location='http://www.the9.com'" onMouseover="bgColor='#D1FD80'; show_text(1,'div1')" onMouseout="bgColor='#F88530'; reset('div1')" style="cursor:pointer; cursor:hand"><font face="arial" size="4"><b>第九城市</b></font></td>
</tr>
<tr>
<td onclick="window.location='http://www.sina.com.cn'" onMouseover="bgColor='#FDB9FD'; show_text(2,'div1')" onMouseout="bgColor='#F88530'; reset('div1')" style="cursor:pointer; cursor:hand"><font face="arial" size="4"><b>新浪网</b></font></td>
</tr>
<tr>
<td onclick="window.location='http://www.163.com'" onMouseover="bgColor='#FFFF5E'; show_text(3,'div1')" onMouseout="bgColor='#F88530'; reset('div1')" style="cursor:pointer; cursor:hand"><font face="arial" size="4"><b>网易</b></font></td>
</tr>
<tr>
<td onclick="window.location='http://www.sohu.com'" onMouseover="bgColor='#C2D7FC'; show_text(4,'div1')" onMouseout="bgColor='#F88530'; reset('div1')" style="cursor:pointer; cursor:hand"><font face="arial" size="4"><b>搜狐</b></font></td>
</tr>
</table></td>
<td>
<span id="div1"><table border="0" width="210" height="185" bgcolor="#F88530" cellpadding="8" cellspacing="0"><tr><td valign="top"><font face="arial" size="4"><b>请把鼠标放到左侧相应的导航栏目上<p>看到变化效果了吗?</b></font></td></tr></table></span>
</td>
</tr>
</table></td>
</tr>
</table>