在iframe中定位模式弹出窗口 [英] Position modal popup inside iframe

查看:67
本文介绍了在iframe中定位模式弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我对模式弹出式扩展程序有问题.

扩展器始终在屏幕中央打开模式弹出窗口.
如果将包含模式弹出窗口扩展程序的页面放在iframe内,则弹出窗口将显示在iframe的中心.
因此,如果iframe的高度更大,并且浏览器具有滚动条,则弹出窗口位于滚动区域中,因此在显示时不会直接可见.
我们必须滚动浏览器才能查看弹出窗口.

我希望弹出窗口显示在屏幕中央.不在iframe的中心.

任何帮助表示赞赏


谢谢
Gayatri

Hi,

I have a problem with modal popup extender.

The extender opens the modal popup in center of the screen always.
If I put my page containing the modal popup extender inside an iframe, then the popup is displayed in the center of the iframe.
So when the iframe''s height is more, and browse has scroll bar then the popup is in the scrolled region so not directly visible when it is shown.
We have to scroll the browser to view the popup.

I want the popup to be shown in the center of the screen. not in the center of the iframe.

Any help is appreciated


Thanks
Gayatri

推荐答案

Freind,以下链接可能对您有用:
ASP.NET AJAX控件工具包ModalPopupExtender控件的作用 [ ^ ]
http://www.webdeveloper.com/Forum/showthread.php?208999-modal-popup-issue-from-inside-lt-iframe-gt [ http://asp.net.bigresource.com/AJAX-modalpopup -extender-works-in-iframe--Q2LJQYSuc.html [
Freind, following links might be useful for you:
ASP.NET AJAX Control Toolkit ModalPopupExtender Control in Action[^]
http://stackoverflow.com/questions/6410996/how-to-load-a-page-in-iframe-which-is-in-a-modal-popup-extender-on-button-click[^]
http://www.webdeveloper.com/forum/showthread.php?208999-modal-popup-issue-from-inside-lt-iframe-gt[^]
http://asp.net.bigresource.com/AJAX-modalpopup-extender-works-in-iframe--Q2LJQYSuc.html[^]


Thanks,
Ambesha


这篇关于在iframe中定位模式弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆