Creating an always Raised Window : Window : Window Browser JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Window Browser » Window »

 

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>


           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Window Browser
» Window