Creating an always Raised Window
<HTML>
<HEAD>
<TITLE>Simple Signed Script</TITLE>
<SCRIPT LANGUAGE="JavaScript">
function newRaisedWindow() {
var newWindow = window.open("","","HEIGHT=100,WIDTH=300,alwaysRaised")
var newContent = "<HTML><BODY><B>message</B>"
newContent += "<FORM><INPUT TYPE='button' VALUE='OK'"
newContent += "onClick='self.close()'></FORM></BODY></HTML>"
newWindow.document.write(newContent)
newWindow.document.close()
}
</SCRIPT>
</HEAD>
<BODY>
<B>This button generates an always-raised new window.</B>
<FORM>
<INPUT TYPE="button" VALUE="New 'Always Raised' Window" onClick="newRaisedWindow()">
</BODY>
</HTML>
Related examples in the same category