1.
<script language="JavaScript">
function test()
{
showModelessDialog("test.htm","Message","status:no;resizable:no;help:no;dialogHeight:200px;dialogWidth:300px;");
}
</script>
<input type="button" value="弹出" onClick="test()">2.JS版常见问题(一)层遇到select框时? fason(原作)
http://www.csdn.net/Develop/Read_Article.asp?Id=19114
<script language="JavaScript">
function test()
{
showModelessDialog("test.htm","Message","status:no;resizable:no;help:no;dialogHeight:200px;dialogWidth:300px;");
}
</script>
<input type="button" value="弹出" onClick="test()">2.JS版常见问题(一)层遇到select框时? fason(原作)
http://www.csdn.net/Develop/Read_Article.asp?Id=19114
解决方案 »
- 请问safari浏览器 在windows和mac系统下运行有什么不同的地方吗?
- javascript 的cookie如何实现跨域?急.....
- 请问javascript里alert警告框叹号图片能否变成红色叉叉的图片?或者警告的字怎么改变颜色?
- 用复选框(checkbox)来控制文本框(textfield)的属性
- ---梅花雪,能不能给一个简单的实现显示数据库表的Treeview的树型呢?
- IE8浏览器,无法设置dynsrc属性.拒绝访问如何解决
- 谁能实现这样的列表???!!!!
- 如何取得表格某一单元的内容?
- 提示信息的实现(在线等待)
- 关于数组的问题,解决了送49分,立即!
- 如何有效的检测客户端IE是否能够使用Cookies?
- 求助
我使用一个popoupwin的控件,这个控件和MSN的是一样的效果,我的页面是由框架组成的,我现在把这个控件放在了最下面的框架里(这个框架比较小),但是当弹出popupwin以后中间的框架就挡住了这个popupwin,怎么样可以让这个popupwin不被挡住?
你可以看一下.MSDN的例子.网页跨框架菜单 demo.htm<html>
<head>
<title>网页跨框架菜单 </title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><frameset rows="92,*" cols="*" framespacing="4" frameborder="yes" border="4">
<frame src="top.htm" name="topFrame" scrolling="NO" >
<frame src="bottom.htm" name="mainFrame">
</frameset>
<noframes><body></body></noframes>
</html>
top.htm<html>
<head>
<title>MSDN的示例</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, 210, 84, 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; 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></body>
</html>
bottom.htm<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body></body>
</html>