<html>
<head>
<script language="javascript">
function popup_window()
{
var win=window.createPopup();
win.document.body.style.backgroundColor="lime";
win.document.body.style.border="lime";
win.document.body.style.border="solid black 10px";
win.document.body.innerHTML="<b>HELLO<b>";
win.show(200,100,500,200,document.body);
}
</script>
</head>
<body>
<input type="button" name="b1" value="Show Popup Window" onClick="popup_window()">
</body>
</html>
No comments:
Post a Comment