核心Asp打开框架少弹出,但应启用父窗口 [英] Core Asp open frame less popup but parent window should be enable
本文介绍了核心Asp打开框架少弹出,但应启用父窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
核心Asp打开框架少弹出但父窗口应启用
就像gmail聊天
我试过这个
Core Asp open frame less popup but parent window should be enable
just like gmail chat
I have tried this
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/redmond/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script>
function displayResult(id)
{
$("#dialog").dialog({modal: true, height: 590, width: 1005 });
}
</script>
</head>
<body>
<div id="mydiv" önclick="displayResult('<%= RS("uid") %>')">
abcd
</div>
<div id="dialog" style="display:none;">
This is test
</div>
</body>
</html>
但这会让父表单在打开弹出窗口时被禁用,我想要那个父窗口启用
请帮助
But this make parent form disabled while open popup, I want that parent window enable
please help
推荐答案
(< span class =code-string> #dialog)。dialog({modal: true ,height: 590 ,width: 1005 });
}
< / script >
< / head >
< 正文 >
< div id = mydiv önclick = displayResult(' <% = RS( uid)%> ') >
abcd
< / div >
< div id = 对话框 样式 = display:none; >
这是测试
< / div < span class =code-keyword>>
< / body >
< / html >
("#dialog").dialog({modal: true, height: 590, width: 1005 }); } </script> </head> <body> <div id="mydiv" önclick="displayResult('<%= RS("uid") %>')"> abcd </div> <div id="dialog" style="display:none;"> This is test </div> </body> </html>
但这会让父表单在打开弹出窗口时被禁用,我想要那个父窗口启用
请帮助
But this make parent form disabled while open popup, I want that parent window enable
please help
听起来你需要一个新窗口不是模态对话框。尝试:
Sounds like you need a new window and not a modal dialog. Try:
( #dialog)。dialog({modal: false ,height: 590 ,width: 1005 });
("#dialog").dialog({modal: false, height: 590, width: 1005 });
修改了''模态
''来自的权利
到 false
。
详细信息: http://api.jqueryui.com/dialog/#option-modal [ ^ ]
Modified the ''modal
'' proerty from true
to false
.
Details here: http://api.jqueryui.com/dialog/#option-modal[^]
这篇关于核心Asp打开框架少弹出,但应启用父窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文