在线等,好急呀!!!来者给分 能不能发给我一份?我也有一个,喝你交换好吗? [email protected]我这个功能很强大。自己还可以修改。也许我能帮你修改修改。我自己做了一个类似outLook 的菜单,对象化的。可以交流。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 给你按钮,至于弹出的菜单应该小意思吧?css定义好了,应用一下就ok<html> <head> <style> .button2 { border-right:1px solid buttonhighlight; border-left:1px solid buttonshadow; border-bottom:1px solid buttonhighlight; border-top:1px solid buttonshadow } TD { cursor: hand; font-size: 9pt; font-family: 宋体; text-align: center; text-valign: middle } .handin { height:18px; width:2px; border-left:1px solid buttonshadow; border-right:1px solid buttonhighlight } .handout { height:18px; width:2px; border-left:1px solid buttonhighlight; border-right:1px solid buttonshadow; } .into { width:100%; border-right:1px solid buttonhighlight; border-left:1px solid buttonshadow; border-bottom:1px solid buttonhighlight; border-top:1px solid buttonshadow } .outto,.button1 { background-color: buttonface; background-repeat: repeat; background-attachment: scroll; border-left: 1px solid buttonhighlight; border-right: 1px solid buttonshadow; border-top: 1px solid buttonhighlight; border-bottom: 1px solid buttonshadow; background-position: 0%" } .button0 { } </style> </head> <body topmargin="0" leftmargin="0" bgcolor="#E0E0E0"> <script> function change_button(num) { if(event.srcElement.tagName=="TD"&&event.srcElement.value=="button") event.srcElement.className = "button"+num; } </script> <div class="into" style="width: 100%; height: 25"> <table class="outto" border="0" width="100%" height="25" cellspacing="1" onmouseover="change_button(1)" onmouseup="change_button(0)" onmousedown="change_button(2)" onmouseout="change_button(0)"> <tr> <td width="1%" height="19"><span class="handout"></span></td> <td width="9%" height="19" value="button">按钮TD</td> <td width="1%" height="19"><span class="handin"></span></td> <td width="9%" height="19" value="button">按钮TD</td> <td width="1%" height="19"><span class="handin"></span></td> <td width="9%" height="19" value="button">按钮TD</td> <td width="1%" height="19"><span class="handin"></span></td> <td width="69%" height="19"></td> </tr> </table> </div> </body> </html> http://expert.csdn.net/Expert/topic/1621/1621316.xml?temp=.2399408<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>menu</title><style type="text/css"><!--a { font-size: 12px; color: #990000; text-decoration: none;}--></style><script language="JavaScript" type="text/JavaScript"><!--function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_showHideLayers() { //v6.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; }}//--></script></head><body><table width="98" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="b2b2b2"> <tr align="center" bgcolor="faf9f8"> <td><div id="menu1" style="position:absolute; top:33px; width:53px; height:73px; z-index:1; visibility: hidden;"> <table width="98" border="0" cellpadding="0" cellspacing="1" bgcolor="b2b2b2"> <tr> <td bgcolor="faf9e8"><a href="#">11111</a></td> </tr> <tr> <td bgcolor="faf9e8"><a href="#">11111</a></td> </tr> </table> </div> <a href="#" onMouseOver="MM_showHideLayers('menu1','','show','menu2','','hide')" onMouseOut="MM_showHideLayers('menu1','','hide','menu2','','hide')">Menu1</a></td> <td><div id="menu2" style="position:absolute; top:33px; width:53px; height:73px; z-index:1; visibility: hidden;"> <table width="98" border="0" cellpadding="0" cellspacing="1" bgcolor="b2b2b2"> <tr> <td bgcolor="faf9e8"><a href="#">22222</a></td> </tr> <tr> <td bgcolor="faf9e8"><a href="#">22222</a></td> </tr> </table> </div> <a href="#" onMouseOver="MM_showHideLayers('menu1','','hide','menu2','','show')" onMouseOut="MM_showHideLayers('menu1','','hide','menu2','','hide')">Menu2</a></td> </tr></table></body></html> http://fason.nease.net/zhuanti/menu/ms.zip 麻烦来帮帮忙 jquery validate 自定义验证问题 关于extjs中grid中的数据无法保存到数据库中的问题! 链接控制表格的缓慢出现和消失,请帮忙修改下代码! 关于PHP、Javascript的调试IDE和框架的问题? JS赋值问题 急!菜鸟求助~大虾们如何解析这个XML文件 请问我想实现这样一个效果 如何让xp出现javascript出现错误提示? 大家帮忙看看这个菜单是怎么实现的 能回答这个问题我才佩服(在线等!) 太急的问题,有人拉我一下吗?
<style> .button2
{
border-right:1px solid buttonhighlight;
border-left:1px solid buttonshadow;
border-bottom:1px solid buttonhighlight;
border-top:1px solid buttonshadow
} TD
{
cursor: hand; font-size: 9pt; font-family: 宋体; text-align: center; text-valign: middle
} .handin
{
height:18px;
width:2px;
border-left:1px solid buttonshadow;
border-right:1px solid buttonhighlight
} .handout
{
height:18px;
width:2px;
border-left:1px solid buttonhighlight;
border-right:1px solid buttonshadow;
}
.into
{
width:100%;
border-right:1px solid buttonhighlight;
border-left:1px solid buttonshadow;
border-bottom:1px solid buttonhighlight;
border-top:1px solid buttonshadow
} .outto,.button1
{
background-color: buttonface;
background-repeat: repeat;
background-attachment: scroll;
border-left: 1px solid buttonhighlight;
border-right: 1px solid buttonshadow;
border-top: 1px solid buttonhighlight;
border-bottom: 1px solid buttonshadow;
background-position: 0%"
} .button0
{ }
</style>
</head> <body topmargin="0" leftmargin="0" bgcolor="#E0E0E0">
<script>
function change_button(num)
{
if(event.srcElement.tagName=="TD"&&event.srcElement.value=="button")
event.srcElement.className = "button"+num;
}
</script> <div class="into" style="width: 100%; height: 25">
<table class="outto" border="0" width="100%" height="25" cellspacing="1" onmouseover="change_button(1)" onmouseup="change_button(0)" onmousedown="change_button(2)" onmouseout="change_button(0)">
<tr>
<td width="1%" height="19"><span class="handout"></span></td>
<td width="9%" height="19" value="button">按钮TD</td>
<td width="1%" height="19"><span class="handin"></span></td>
<td width="9%" height="19" value="button">按钮TD</td>
<td width="1%" height="19"><span class="handin"></span></td>
<td width="9%" height="19" value="button">按钮TD</td>
<td width="1%" height="19"><span class="handin"></span></td>
<td width="69%" height="19"></td>
</tr>
</table> </div> </body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>menu</title>
<style type="text/css">
<!--
a {
font-size: 12px;
color: #990000;
text-decoration: none;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head><body>
<table width="98" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="b2b2b2">
<tr align="center" bgcolor="faf9f8">
<td><div id="menu1" style="position:absolute; top:33px; width:53px; height:73px; z-index:1; visibility: hidden;">
<table width="98" border="0" cellpadding="0" cellspacing="1" bgcolor="b2b2b2">
<tr>
<td bgcolor="faf9e8"><a href="#">11111</a></td>
</tr>
<tr>
<td bgcolor="faf9e8"><a href="#">11111</a></td>
</tr>
</table>
</div>
<a href="#" onMouseOver="MM_showHideLayers('menu1','','show','menu2','','hide')" onMouseOut="MM_showHideLayers('menu1','','hide','menu2','','hide')">Menu1</a></td>
<td><div id="menu2" style="position:absolute; top:33px; width:53px; height:73px; z-index:1; visibility: hidden;">
<table width="98" border="0" cellpadding="0" cellspacing="1" bgcolor="b2b2b2">
<tr>
<td bgcolor="faf9e8"><a href="#">22222</a></td>
</tr>
<tr>
<td bgcolor="faf9e8"><a href="#">22222</a></td>
</tr>
</table>
</div>
<a href="#" onMouseOver="MM_showHideLayers('menu1','','hide','menu2','','show')" onMouseOut="MM_showHideLayers('menu1','','hide','menu2','','hide')">Menu2</a></td>
</tr>
</table>
</body>
</html>