亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

鼠標經(jīng)過顯示二級菜單js特效

 更新時間:2013年08月13日 16:15:48   作者:  
本文章來給大家推薦一個不錯的鼠標經(jīng)過顯示二級菜單js特效效果,有需要了解的朋友可以參考一下
復制代碼 代碼如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
<title>鼠標經(jīng)過顯示二級菜單js特效</title>
</head>
<body>
<a href="http://chabaoo.cn" onMouseover="showit(0)">腳本之家</a> | <a onMouseover="showit(1)">播放器之家</a><br>
<div id="describe" style="width:600px;height:40px; margin-top:10px;" onMouseover="clear_delayhide()" onMouseout="resetit(event)"></div>
<script language="JavaScript1.2">
var submenu=new Array()
submenu[0]='<b><a href="http://chabaoo.cn/">腳本之家</a> | <a >播放器之家</a> | <a >素材之家</a> | <a >個性名字網(wǎng)</a> | <a
submenu[1]='<b><a href="http://chabaoo.cn/">腳本之家</a> | <a >播放器之家</a> | <a >素材之家</a> | <a
var delay_hide=500
var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""
function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}
function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}
function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
</script>
</body>
</html></td>
   </tr>
 </table>

相關文章

最新評論