如何在Mozilla中打开弹出窗口 [英] How to open a popup in Mozilla
本文介绍了如何在Mozilla中打开弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在Mozilla中打开弹出窗口而不设置任何选项?
I wanted to open a popup in Mozilla without setting an option?
推荐答案
您可以通过独立于浏览器(跨浏览器兼容)的方式将jQuery用于弹出窗口.如果您想使用jQuery,可以给我回复.我会帮助您使用jQuery,或者您可以在互联网上进行搜索.
一切顺利!
Hi,
you can use jQuery for popups in a browser independent (cross-browser compatible) way. If you want to use jQuery you can send me a reply. I''ll help you to use jQuery or you can search yourself on the internet.
All the best!
<script type="text/javascript">
function openPopUp()
{
var popUrl = 'EditUser.aspx';
var name = 'popUp';
var appearence ='dependent=yes,menubar=no,resizable=yes,'+
'status=no,toolbar=no,titlebar=no,' +
'left=40,top=150,width=1300px,height=500px';
var openWindow = window.open(popUrl, name, appearence);
openWindow.focus();
}
</script>
protected void Page_Load(object sender, EventArgs e)
{
btn_Edit.Attributes.Add("onclick", "openPopUp('EditUser.aspx')");
}
//write code on dropdown_selectedindexchanged
response.write("<script>alert('your massage')<script>");
</script></script>
这篇关于如何在Mozilla中打开弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文