简体   繁体   English

Firefox Safari chrome等中的window.createPopup()相当于什么

[英]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.

相关问题 IE以外的Windows.createPopup等效项 - Window.createPopup equivalent for otherthan IE IE和Selenium:window.createPopup() - IE and Selenium: window.createPopup() IE 11,Fire Fox和Chrome不支持window.createPopup() - window.createPopup() not supported in IE 11, Fire fox and Chrome Firefox,Chrome,Safari,IE等的js递归限制是什么? - What are the js recursion limits for Firefox, Chrome, Safari, IE, etc? 什么是JavaScript,可以说明IE和FireFox(或Chrome,Safari等)之间的速度差异? - What is some JavaScript that illustrates the speed differences between IE and FireFox (or Chrome, Safari, etc) 使用Chrome打开Internet Explorer / Firefox等窗口 - Open a Internet explorer/Firefox etc window with Chrome 在浏览器窗口中居中,可在野生动物园中使用,但在Firefox或Chrome中无法使用 - centering in browser window, works in safari but not firefox or chrome 等效于 firefox 和 chrome 中的 window.screenTop - Equivalent of window.screenTop in firefox and chrome Axios post.then 功能在 Chrome 中触发,但在 Firefox/Safari 等中不触发 - Axios post .then functionality triggers in Chrome but not in Firefox/Safari etc 编码浏览器扩展,插件,Firefox,Safari,Chrome等……这可能吗? - Coding browser extensions, Addons, Firefox, Safari, Chrome etc… Is this possible?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM