javascript禁用父窗口 [英] javascript disable parent window
本文介绍了javascript禁用父窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好!
有谁知道如何禁用父窗口?
现在是这种情况,我有一个带有链接的窗口,现在,如果我单击链接,则会弹出一个新窗口.现在的问题是,如何禁用父窗口?
请帮助...
hello everyone!
Does anyone know how to disable a parent window?
Now here is the situation, i have a window with a link, now if i click on the link, it popup a new window. Now the question is, How can i disable the parent window?
please help...
推荐答案
您不能以这种方式禁用父窗口,它是一个单独的浏览器实例.如果您的意思是将类似窗口的对象放置在当前显示的页面上,那么您只能与显示的窗口而不是页面的内容进行交互,这称为模式对话框.有很多例子.
You can''t disable the parent window in this manner, it is a separate browser instance. If you mean a window-like object that placed over the currently displayed page where you can only interact with the contents of the displayed window and not the page, that is called a modal dialog. There are plenty of examples for that.
这篇关于javascript禁用父窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文