HII Crmpicco
Hope this will help you
<html>
<head>
<script>
function OpenNewWindow()
{
vin=window.open("","NewWindow","height=200,width=4 00");
vin.document.write ("<HTML><HEAD><script language='javascript'>");
vin.document.write ("function innerwindow(){ window.open('test.html','AnotherNewWindow','height =200,width=400');}")
vin.document.write ("<\/script></HEAD>");
vin.document.write ("<BODY BGCOLOR='#cococo'>");
vin.document.write ("<P ALIGN=CENTER>");
vin.document.write ("test");
vin.document.write ("</P>");
vin.document.write ("<center><FORM><INPUT TYPE='button' VALUE='innerwidnow' onClick='innerwindow()'>");
vin.document.write ("</FORM></CENTER></BODY></HTML>");
vin.document.write ("</BODY></HTML>");
vin.document.close();
}
</script>
</head>
<body>
<input type=button name=abc value="openwindow" onclick="OpenNewWindow()">
</body>
</html>
Cheers :)
vinod
|