100分需求顶层菜单! http://www.3dapple.com/scriptopen.asp?id=1111 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 好象插入的对象就是会挡住菜单,另外flash也会这样以前是点菜单时先将华表等隐藏了,选好了再显出来 不知道用java applet算不算 呵呵呵呵 ---frame.html----<html><head><title>网页跨框架菜单 </title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><frameset rows="100,*" framespacing="4" frameborder="yes" border="4"><frameset cols="*" framespacing="4" frameborder="yes" border="4"> <frame src="top1.htm" name="topFrame" scrolling="NO" ></frameset><frameset cols="*" framespacing="4" frameborder="yes" border="4"> <frame src="bottom.htm" name="mainFrame"> <noframes> <body></body> </noframes></frameset></frameset><frameset></frameset></html> -------top1.htm-----------<html><head><title>MS的示例</title><script>var oPopup = window.createPopup();function richContext(){ var lefter2 = event.offsetY+0; var topper2 = event.offsetX+15; oPopup.document.body.innerHTML = oContext2.innerHTML; oPopup.show(topper2, lefter2, 410, 184, contextobox);}</script></head><body> <span id="contextobox" style=" cursor:hand; margin-left:5px; margin-right:10px; background:#e4e4e4; width:300; height:40; padding:20px;" oncontextmenu="richContext(); return false" >Right-click inside this box.</span><DIV ID="oContext2" STYLE="display:none"><DIV STYLE="position:relative; top:0; left:0; border:2px solid black; border-top:2px solid #cccccc; border-left:2px solid #cccccc; background:#666666; height:110px; width:207px;"> <DIV STYLE="position:relative; top:0; left:0; background:#cccccc; border:1px solid black; border-top: 1px solid white; border-left:1px solid white; height:20px; color:black; font-family:verdana; font-weight:bold; padding:2px; padding-left:10px; font-size:8pt; cursor:hand" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#cccccc'" onclick="top.mainFrame.location.href='http://www.microsoft.com';"> Home</DIV> <DIV STYLE="position:relative; top:0; left:0; background:#cccccc; border:1px solid black; border-top: 1px solid white; border-left:1px solid white; height:20px; color:black; font-family:verdana; font-weight:bold; padding:2px; padding-left:10px; font-size:8pt; cursor:hand" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#cccccc'" onclick="top.mainFrame.location.href='http://search.microsoft.com';"> Search</DIV> <div style="position:relative; top:0; left:0; "> <div style="position:relative; top:0; left:110; ">asasf </div> </div> <DIV STYLE="position:relative; top:0; left:0; background:#cccccc; border:1px solid black; border-top: 1px solid white; border-left:1px solid white; height:20px; color:black; font-family:verdana; font-weight:bold; padding:2px; padding-left:10px; font-size:8pt; cursor:hand" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#cccccc'" onclick="top.mainFrame.location.href='http://www.microsoft.com/ie';"> Intenet Explorer</DIV> <DIV STYLE="position:relative; top:0; left:0; background:#cccccc; border:1px solid black; border-top: 1px solid white; border-left:1px solid white; height:20px; color:black; font-family:verdana; font-weight:bold; padding:2px; padding-left:10px; font-size:8pt; cursor:hand" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#cccccc'" onclick="top.mainFrame.location.href='http://www.microsoft.com/info/cpyright.htm';"> ©2001 Microsoft Corporation</DIV></DIV></div></body></html> http://agetime.joo.cn/jsmenu/http://agetime.joo.cn/WebControl/demo.html 大家还有比较好的这样菜单吗?希望是那种单击菜单以后,执行某个事件而打开一个url,本人不是很懂javascript,因此希望能找一个合适的!谢谢了,分不够,可以再加! js 求救!!!! ie8的bug么? 为什么打印的不一样? 请问这段代码总是提示函数未定义 多选一的radio的js控制挺怪异 JavaScript问题 对JavaScript的疑问 下面这段js如何才能在firefox中正常执行 请教一个关于select list与radio的问题。 这是什么错误???? 求一个正则表达式 javascript有无try catch 我在800*600下用层写了个下拉菜单,并把层定位了,可是在1024*768下浏览时,下拉菜单的位置就不是我想要的位置了,如果取得相对位置啊!
以前是点菜单时先将华表等隐藏了,选好了再显出来
<head>
<title>网页跨框架菜单 </title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><frameset rows="100,*" framespacing="4" frameborder="yes" border="4"><frameset cols="*" framespacing="4" frameborder="yes" border="4">
<frame src="top1.htm" name="topFrame" scrolling="NO" >
</frameset><frameset cols="*" framespacing="4" frameborder="yes" border="4">
<frame src="bottom.htm" name="mainFrame">
<noframes>
<body></body>
</noframes>
</frameset>
</frameset>
<frameset>
</frameset>
</html>
<html>
<head>
<title>MS的示例</title>
<script>
var oPopup = window.createPopup();
function richContext()
{
var lefter2 = event.offsetY+0;
var topper2 = event.offsetX+15;
oPopup.document.body.innerHTML = oContext2.innerHTML;
oPopup.show(topper2, lefter2, 410, 184, contextobox);
}
</script>
</head>
<body>
<span id="contextobox" style=" cursor:hand; margin-left:5px; margin-right:10px; background:#e4e4e4; width:300; height:40; padding:20px;" oncontextmenu="richContext(); return false" >Right-click inside this box.</span><DIV ID="oContext2" STYLE="display:none">
<DIV STYLE="position:relative; top:0; left:0; border:2px solid black; border-top:2px solid #cccccc; border-left:2px solid #cccccc; background:#666666; height:110px; width:207px;">
<DIV STYLE="position:relative; top:0; left:0; background:#cccccc; border:1px solid black; border-top: 1px solid white; border-left:1px solid white; height:20px; color:black; font-family:verdana; font-weight:bold; padding:2px; padding-left:10px; font-size:8pt; cursor:hand" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#cccccc'" onclick="top.mainFrame.location.href='http://www.microsoft.com';">
Home</DIV>
<DIV STYLE="position:relative; top:0; left:0; background:#cccccc; border:1px solid black; border-top: 1px solid white; border-left:1px solid white; height:20px; color:black; font-family:verdana; font-weight:bold; padding:2px; padding-left:10px; font-size:8pt; cursor:hand" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#cccccc'" onclick="top.mainFrame.location.href='http://search.microsoft.com';">
Search</DIV>
<div style="position:relative; top:0; left:0; ">
<div style="position:relative; top:0; left:110; ">asasf
</div>
</div>
<DIV STYLE="position:relative; top:0; left:0; background:#cccccc; border:1px solid black; border-top: 1px solid white; border-left:1px solid white; height:20px; color:black; font-family:verdana; font-weight:bold; padding:2px; padding-left:10px; font-size:8pt; cursor:hand" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#cccccc'" onclick="top.mainFrame.location.href='http://www.microsoft.com/ie';">
Intenet Explorer</DIV>
<DIV STYLE="position:relative; top:0; left:0; background:#cccccc; border:1px solid black; border-top: 1px solid white; border-left:1px solid white; height:20px; color:black; font-family:verdana; font-weight:bold; padding:2px; padding-left:10px; font-size:8pt; cursor:hand" onmouseover="this.style.background='#ffffff'" onmouseout="this.style.background='#cccccc'" onclick="top.mainFrame.location.href='http://www.microsoft.com/info/cpyright.htm';">
©2001 Microsoft Corporation</DIV>
</DIV></div>
</body>
</html>