[英]What is the equivalent of window.createPopup() in Firefox Safari chrome etc
It seems that I can't use window.createpopup on other browsers because its not supported. 似乎我不能在其他浏览器上使用window.createpopup,因为它不受支持。 the reason why i was using window.createpopup is because it can popup from one frame and show on top of another frame on the same page. 我使用window.createpopup的原因是因为它可以从一个框架弹出并显示在同一页面上的另一个框架的顶部。 I am using frameset, so this wasnt possible with other types of dropdown menues. 我正在使用框架集,所以这不可能与其他类型的下拉菜单。 is there anything else i can use which could achieve the same objective (ppup or dropdown from one frame and on top of another)? 还有什么我可以使用它可以实现相同的目标(从一帧和另一帧的ppup或下拉)?
edit: 编辑:
I am not using iframes for frameset 我没有使用iframe作为框架集
here is how my frameset looks like 这是我的框架集的样子
</head>
<frameset id="frameMain" rows="84,*" framespacing="0">
<frame src="pageHeader.html" id="mail" name="mail" frameborder="0" border="0" marginwidth="0" marginheight="0" noresize="noresize" scrolling="no"/>
<frameset id="frameSet" cols="126,*" framespacing="0">
<frame src="page2.html" id="leftnav" name="leftnav" frameborder="0" border="0" marginwidth="0" marginheight="0" noresize="noresize" scrolling="no"/>
<frame src="empty.htm" id="main" name="main" frameborder="0" border="0" noresize="noresize" scrolling="yes"/>
</frameset>
</frameset>
</html>
I want my dropdown menuto be in 'frameMain' and show over the other frames, and not behind them 我希望我的下拉菜单在'frameMain'中并显示在其他帧上,而不是在它们后面
I am not sure if this will help in your case - I didn't try it like that, but I have implemented a cross browser window.createPopup(), that will work on all major browsers: Firefox, IE, Chrome, Safari. 我不确定这对你的情况是否有帮助 - 我没有尝试过,但是我已经实现了一个跨浏览器window.createPopup(),它可以在所有主流浏览器上运行:Firefox,IE,Chrome,Safari。
Here is my article with all the details and the code needed: http://extremedev.blogspot.com/2011/01/ie-windowcreatepopup-cross-browser.html 这是我的文章,包含所有细节和所需的代码: http : //extremedev.blogspot.com/2011/01/ie-windowcreatepopup-cross-browser.html
Leave a comment there so that I know if it helped, otherwise, tell me what is the problem and we will try to find a solution. 在那里发表评论,以便我知道它是否有帮助,否则,告诉我是什么问题,我们将尝试找到解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.