弹出页面的问题!

joky1981 2004-05-05 09:59:14
点击按钮触发弹出新的页面,怎么调节页面的大小?
怎样使页面的只有页面的内容,没有地址栏和工具栏,标题栏哪些东西?
在线等待!急用!
...全文
103 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
二毛他弟 2004-05-06
  • 打赏
  • 举报
回复
window.dialogArguments.location.reload()
用这句
joky1981 2004-05-06
  • 打赏
  • 举报
回复
private void CancelButton_Click(object sender, System.EventArgs e)
{
Response.Write(
"<script>"+
"this.close;"+
"</script>");
}
大家看这个有问题吗?我怎么不能关不了该页面?
然后,怎么在该按钮点击事件中触发另一个页面的刷新?
急!!!!!!
joky1981 2004-05-06
  • 打赏
  • 举报
回复
由page1的按钮触发page2弹出,怎么使page2的按钮触发page2的关闭同时刷新page1
linfuguo 2004-05-06
  • 打赏
  • 举报
回复
说完了!
WZCNet 2004-05-06
  • 打赏
  • 举报
回复
<script>window.close</script>
michaelowenii 2004-05-06
  • 打赏
  • 举报
回复
Response.Write("<script>window.open'kh.htm','','scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no,left=30,top=20,width=725,height=490');

this.close();

</script>");

yuanxianping 2004-05-06
  • 打赏
  • 举报
回复
Response.Write("<script>window.open'kh.htm','','scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no,left=30,top=20,width=725,height=490');</script>");

通过调节width和height即可!
joky1981 2004-05-06
  • 打赏
  • 举报
回复
我用
<script>window.close</script>
关不了
joky1981 2004-05-06
  • 打赏
  • 举报
回复
由page1的按钮触发page2弹出,怎么使page2的按钮触发page2的关闭同时刷新page1。
listhome 2004-05-06
  • 打赏
  • 举报
回复
<script>window.close</script>
wanjinbao 2004-05-06
  • 打赏
  • 举报
回复
java实现:

<script>
pop=window.open("webform1.aspx","_blank","fullscreen=yes");
pop.resizeTo(w,h);
pop.moveTo((screen.width-w)/2,(screen.height-h)/2);
</script>
joky1981 2004-05-06
  • 打赏
  • 举报
回复
怎么关闭弹出页面?
possible_Y 2004-05-05
  • 打赏
  • 举报
回复
<script>
pop=window.open("xxx.aspx","_blank","fullscreen=yes");
pop.resizeTo(w,h);
pop.moveTo((screen.width-w)/2,(screen.height-h)/2);
</script>
xjshuaishuai 2004-05-05
  • 打赏
  • 举报
回复
Response.Write("<script>window.open('ErrorTable.aspx','','alwaysRaised,width=800,height=600')</script>");
shenen 2004-05-05
  • 打赏
  • 举报
回复
window.open('kh.htm','','scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no,left=30,top=20,width=725,height=490');

62,074

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧