frederick
04-30-2003, 09:12 PM
if i want a link to close the window, what's the code?
"click here to close window" y'know?
thanks
"click here to close window" y'know?
thanks
|
View Full Version : what's the code to close a window? frederick 04-30-2003, 09:12 PM if i want a link to close the window, what's the code? "click here to close window" y'know? thanks kittycat 04-30-2003, 09:32 PM <a href="javascript:window.close();">Close This Window</a> Mike 05-01-2003, 09:37 PM Originally posted by kittycat <a href="javascript:window.close();">Close This Window</a> awww... u beat me to it. Also try: <input type="button" value="Close window" onClick="window.close()"></form></center> I think that its bettre. frederick 05-01-2003, 11:36 PM hey, thanks guys, i'll try them. frederick 05-02-2003, 12:16 AM the java one does not work... and the other one has a button, is there a way to do it with text? or my own image? starlet 05-02-2003, 12:24 AM the first code should work, just make sure javascript is one word not two. |