ufoen
06-25-2009, 12:46 PM
would it be possible to autoclose a window after some time?
|
Click to See Complete Forum and Search --> : Autoclose link ufoen 06-25-2009, 12:46 PM would it be possible to autoclose a window after some time? Charles 06-25-2009, 12:57 PM Iff the window was opened with JavaScript then JavaScript can close it in time. ufoen 06-25-2009, 12:59 PM okay? can I make javascript code inside my document? - and how would it look like? Charles 06-25-2009, 01:06 PM <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="Content-Script-Type" content="text/javascript"> <title></title> </head> <body> <ul> <li><a href="http://www.w3.org/" onclick="child = window.open (this.href, 'child', 'height=200,width=300'); setTimeout ('if (!child.closed) child.close()', 10000); return false">W3C</a></li> </ul> </body> </html> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |