代码如下,打开login.aspx,关闭本窗口。
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<object id="WebBrowser" width="0" height="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
</object>
<script language="JavaScript">
var w=screen.width /2 -200;
var h=screen.height /2 -150;
var loginwin=window.open("login.aspx","","width=380,height=230,toolbal=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,maximizeButton=0,minmizeButton=0,top=" + h + ",left=" +w);
document.all.WebBrowser.ExecWB(45,1);
</script>
<link rel="stylesheet" type="text/css" href="../default.css">
</head>
<body>
</body>
</html>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<object id="WebBrowser" width="0" height="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
</object>
<script language="JavaScript">
var w=screen.width /2 -200;
var h=screen.height /2 -150;
var loginwin=window.open("login.aspx","","width=380,height=230,toolbal=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,maximizeButton=0,minmizeButton=0,top=" + h + ",left=" +w);
document.all.WebBrowser.ExecWB(45,1);
</script>
<link rel="stylesheet" type="text/css" href="../default.css">
</head>
<body>
</body>
</html>
解决方案 »
- a.aspx页面定时异步访问b.aspx页面
- Lucene做的搜索,为什么搜索结果是这样的?
- 稍微复杂一点的网站配置数据存在在哪儿好?
- 像我这样的菜鸟,怎么糊里糊涂混到1000分了,在这有问题请教,两个问题,很简单,20拿走
- visio的数据库图,看到别人的图显示比我的多一列就是字段的类型列,怎么才能调出显示那一列
- 给分100.急急!!!各位大虾帮帮忙.
- 关于asp.net的友邦面试问题
- DataList控件中关于SelectedItemTemplate的问题
- 如何在asp.net页面程序中使用timer的?
- 用SqlBulkCopy向数据库插入数据 当有重复主键时 如何快速跳过
- 如何将 MSIL 编译为本机代码?
- v_old="温昆温杭",能不能帮我写一段代码,把这四个汉字存入一个数组里,
*********************************************************************这是不可能的。