[CODE]<html>
<head>
<title>仿弹出窗口实例</title>
<style type="text/css">
.TBStyle
{
border-bottom-color:#FF0000;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color:#FF0000;
border-left-style:solid;
border-left-width:1px;
border-right-color:#FF0000;
border-right-style:solid;
border-right-width:1px;
border-top-color:#FF0000;
border-top-style:solid;
border-top-width:1xp;
}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function ShowTitle(Action)
{
if(Action=="show")
{
this.MLayer.disabled=true;
this.Layer1.style.display="inline";
}
else
{
this.MLayer.disabled=false;
this.Layer1.style.display="none";
}
}
//-->
</script>
</head>
<body>
<div id="Layer1" style="position:absolute;left:165px; top:144px; width:415px; height:149px; z-index:1; display:none; color: #0000FF;">
<table width="415" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="415" height="58" valign="top" bgcolor="#0000FF"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="21" valign="top" bgcolor="#0000FF"><div align="center">
<input type="button" name="Submit" value="点击关闭" onClick="ShowTitle('hidden');" >
</div></td>
</tr>
<tr>
<td height="70" valign="top" bgcolor="#0000FF"><!--DWLayoutEmptyCell--> </td>
</tr>
</table>
</div>
<div id="MLayer" >
<input name="" type="button" value="显示屏蔽窗口" onClick="ShowTitle('show');" >
</div>
</body>
</html>[/CODE]
没有标题栏的窗口的确不好做,一般的那种效果可以使用Div层来实现。