There’s nothing as disturbing as a pop-up! Wanna try it? Copy this code and past it in the body of your page.
Or do as I do,... ad a small invisible rectangle somewhere, on the page that you want to enhance with your pop-up,... link a rapidly made “welcome” htm file to that rectangle and place the here below code in the tag of the rectangle. You can even use “Word” to make that htm-file and simply register is as htm in stead of doc. Of cource,.. you can link any file to be used in your pop-up, even as pop-up.
Hint: If you change onLoad= into onUnLoad= the window will open on Unload in stead of Load,... Obvious is it not...:
onLoad="window.open('good-bye.htm', 'newWindow', 'scrollbars=0,resizable=0,height=250,width=250')"
So lazy bum,.. you also want me to give you the code for the welcome.htm file as well, ready for use? Here it is,... do change the text in red and feel free to adapt the size and/or font face to your wishes.
<HTML> <HEAD> <TITLE>Welcome</TITLE> </HEAD> <BODY> <B><CENTER><FONT FACE="Verdana" SIZE="2" COLOR="#000000"> NONDISPUTANDUM.COM</FONT> <BR> <BR> <FONT FACE="Verdana" SIZE="2" COLOR="#008000"> sponsors none but do<BR> promotes after testing<BR> software, tools 'n hints<BR> for you surfers & masters </FONT> <BR> <form><input TYPE="button" VALUE="Close Window" onClick="window.close()"></form> <BR> </CENTER></B> <BODY> <HTML>
|