<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Test</title>
</head>
<script language="JavaScript">
//****************处理对话框*********************
function relogonPordact()
{
parent.parent.appendDialogPordact();
}
//*******************************************************
function appendDialogPordact()
{
var oDialog = "/2.htm";
showModelessDialog(oDialog,window,"status:no;unadorned:yes;dialogWidth:1024px;dialogHeight:768px;help:no;scroll:no;");
}
</script>
<body><a href="javascript:relogonPordact()">点击进入</a>
</body>
</html>
以上是1.htm我想按点击进入链接后打开一个网页对话框2.html并关闭1.htm怎么实现
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Test</title>
</head>
<script language="JavaScript">
//****************处理对话框*********************
function relogonPordact()
{
parent.parent.appendDialogPordact();
}
//*******************************************************
function appendDialogPordact()
{
var oDialog = "/2.htm";
showModelessDialog(oDialog,window,"status:no;unadorned:yes;dialogWidth:1024px;dialogHeight:768px;help:no;scroll:no;");
}
</script>
<body><a href="javascript:relogonPordact()">点击进入</a>
</body>
</html>
以上是1.htm我想按点击进入链接后打开一个网页对话框2.html并关闭1.htm怎么实现
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货