在主网页里,有一个按钮,点击后,弹出另一个网页,该网页功能较简单,就是输入3--4个数据,然后按"确定"按钮后提交到服务器,或是按"关闭"按钮,关闭弹出的网页.由于弹出的网页功能很单一,就不想要网页上的菜单及工具栏等标准部件,就象1个对话框式的,请问如何实现?
解决方案 »
- 有个小问题,是不是要写多条语句?那效率怎么办?
- 请问如何在TextBox中读取数据库中的自增序列(ID)?
- 大家做Web开发累吗?
- 一个frameset的问题?左边一个页面a.aspx,里面是一棵树,右边是一个页面b.aspx
- 求三层架构的软件资料(有源代码的更好!最好是VB项目下建的ASP.NET WEB应用程序)
- GridView翻页问题
- 引用OracleClient出错,如何解决???
- !!SOS 同志们帮帮忙拉 !!
- Access绑定到DataGrid删除一行后DataGrid内容不变,但数据库内容已删除
- 散分200:2002年最想说的一句话,2003年最想做的一件事。^_^
- 请问怎样实现登陆注销功能?
- 如何用dropdownlist实现树目录
if(!Page.IsPostBack)
{
btnDeletePerson.Attributes.Add("onClick","return confirm('你确定要删除所选记录?')");
}
去javascript查查这个函数,和window.open()差不多,不过是模式打开窗口,和你的需求差不多
用window.open()容易被屏蔽
<script language="JavaScript">
<!--
var gt = unescape('%3e');
var popup = null;
var over = "Launch Pop-up Navigator";
popup = window.open('', 'popupnav', 'width=270,height=160,resizable=0,scrollbars=auto');
if (popup != null) {
if (popup.opener == null) {
popup.opener = self;
}
popup.location.href = '12openwindow-1.htm';
}
// -->
</script>
{
var iWidth, iHeight
var iLeft, iTop iWidth = window.screen.availWidth
iHeight = window.screen.availHeight
window.open(URL, Name,"top=" + (iHeight - intHeight)/2 + ",Left=" + (iWidth - intWidth)/2 + ",width=" + intWidth + ",height=" + intHeight + ",resizable=no,menubar=no,statusbar=true,scrollbars=no,toolbar=no,location=no")//分辨率为800下的页面大小
}
< !-- window.open ("page.html", "newwindow", "height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no") //写成一行
-->
</SCRIPT>