Js+DVML:很酷實用的右鍵彈出菜單
2006/12/22 9:19:21

<HTML xmlns:v><HEAD>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>網頁特效代碼|JsCode.CN|---Js+DVML:很酷實用的右鍵彈出菜單</title>
<STYLE>
v\:*{behavior:url(#default#VML);}
.menulist{position:static;PADDING-TOP:6;LETTER-SPACING:8;HEIGHT:20;TEXT-ALIGN:center;margin-bottom:-2}
</STYLE>
</head>
<BODY oncontextmenu='return false'>
<Script>
//作者:風云舞
var menutime1=null,showobjs1=null  //menutime1=循環計時器調用變量,showobjs1=綁定菜單,定時器過程執行時調用
function document.onmouseup(){if(event.button==2)menushow(menu2,60,10)}
function menushow(showobjs,showwid,showsudu){  //右鍵菜單展開函數
//函數說明:menushow(菜單id,項平均寬度,伸展速度)
if(menutime1!=null){clearInterval(menutime1);menutime1=null}
showobjs.style.left=event.x;showobjs.style.top=event.y;
showobjs1=showobjs.all.tags("roundrect");var showlens=showobjs1.length
for(i=0;i<showlens;i++){showobjs1[i].style.width=0;showobjs1[i].style.visibility="hidden"}
showobjs.style.display=""
menutime1=setInterval("for(i=0;i<"+showlens+";i++){showobjs1[i].style.visibility='';if(showobjs1[i].offsetWidth<"+showwid+"){showobjs1[i].style.width=showobjs1[i].offsetWidth+"+showsudu+";break;}else{if(i=="+(showlens-1)+"){clearInterval(menutime1);menutime1=null}}}",20)
}
function menuclose(showobjs2,showsudu2){  //右鍵菜單關閉函數
//函數說明:menushow(菜單id,關閉壓縮速度)
if(menutime1!=null)return false
showobjs1=showobjs2.all.tags("roundrect");var showlens=showobjs1.length-1
menutime1=setInterval("for(i="+showlens+";i>-1;i--){if(showobjs1[i].offsetWidth>0){try{showobjs1[i].style.width=showobjs1[i].offsetWidth-"+showsudu2+";break;}catch(e){showobjs1[i].style.visibility='hidden';if(i==0){clearInterval(menutime1);menutime1=null}}}}",20)
}
</script>
<span id=menu2 style="position:absolute;Z-INDEX:40000;LEFT:395;TOP:210;color:#739EFE;cursor:hand;display:none;font-size:12px;font-family:宋體" onmouseover="if(event.srcElement.tagName=='roundrect'){event.srcElement.strokecolor='blue';event.srcElement.style.color='blue';event.srcElement.style.marginLeft=10}" onmouseout="if(event.srcElement.tagName=='roundrect'){event.srcElement.strokecolor='#739EFE';event.srcElement.style.color='#739EFE';event.srcElement.style.marginLeft=0}">
<v:roundrect class=menulist arcsize=0.5 strokecolor=#739EFE>
<v:fill type=gradient opacity=.4 color=#739EFE color2=white angle="50"/><a target=_blank href=http://jscode.cn>網格</a></v:roundrect><br>
<v:roundrect class=menulist arcsize=0.5 strokecolor=#739EFE>
<v:fill type=gradient opacity=.4 color=#739EFE color2=white angle="50"/>矩陣</v:roundrect><br>
<v:roundrect class=menulist arcsize=0.5 strokecolor=#739EFE>
<v:fill type=gradient opacity=.4 color=#739EFE color2=white angle="50"/>分界線</v:roundrect><br>
<v:roundrect class=menulist arcsize=0.5 strokecolor=#739EFE>
<v:fill

下一頁
返回列表
返回首頁 主站蜘蛛池模板: 欧洲一级毛片免费| 老师办公室被吃奶好爽在线观看| 欧美福利电影在线| 向日葵app下载视频免费 | 欧洲熟妇色xxxx欧美老妇| 亚洲色婷婷一区二区三区| 纸画皮电影免费观看| 国产剧情一区二区三区| 中文字幕中出在线| 日产2021乱码一区| 亚洲精品美女在线观看播放| 美女扒开胸罩露出奶了无遮挡免费 | 白丝女班长被弄得娇喘不停| 国产清纯白嫩初高生在线观看| 97色伦在线观看| 女人zozozo与禽交| 一道本在线视频| 无人区1080在线完整免费版| 久久成人免费电影| 波多野结衣巨女教师6| 国产午夜视频在线观看第四页| 看全色黄大色黄女视频| 成人免费一级片| 久久99中文字幕| 日本黄网站动漫视频免费| 亚洲av成人一区二区三区| 欧美性受一区二区三区| 亚洲欧美日韩精品久久奇米色影视| 男人和女人做爽爽视频| 免费观看激色视频网站(性色)| 免费看片在线观看| 国产精品成人久久久久久久| 97久久精品人妻人人搡人人玩 | 久久久久久久国产a∨| 日韩人妻无码精品一专区| 亚洲精品国产首次亮相| 色综合天天综合网国产成人网| 国产麻豆剧传媒精品国产AV| 久久91综合国产91久久精品 | 国产成人精品影院狼色在线| 亚洲国产最大av|