[thelist] Timing Out A Pop Up Window

Peter-Paul Koch ppk at xs4all.nl
Fri Aug 18 05:57:09 CDT 2000


>I'd like to recognize if java is present and if not serve a different 
>pop up that will close after 15 seconds so when another fabric 
>selection is made if won't get trapped behind the parent window.

>1. how to recognize if java is present and serve the alternate window.

There is no way to detect if JavaScript is used, but it doesn't matter
since browsers without JavaScript can't open the popup anyway.

>2. how to automatically close the window after a pre determined amount of
time.

function closeIt()
{
 self.close()
}

<BODY onLoad="setTimeout('closeIt()',15000)>

ppk





More information about the thelist mailing list