Js+DVML:很酷实用的右键弹出菜单 v:*{behavior:url(#default#VML);} .menulist{position:static;PADDING-TOP:6;LETTER-SPACING:8;HEIGHT:20;TEXT-ALIGN:center;margin-bottom:-2} //作者:风云舞 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
【Js+DVML很酷漂亮实用的右键弹出菜单】相关文章:
★ javascript实现在网页任意处点左键弹出隐藏菜单的方法
★ 二级连动菜单