PDA

View Full Version : automatically closing a window??



bboykwik2
Dec 6th, 2002, 03:26 AM
i've a webpage wit a splash page that when you enter it, it loads a pop-up, is there a way to have the splash page close when you click enter??? and load the window at the same time??? thanks

joh6nn
Dec 6th, 2002, 05:42 AM
the answer is mostly no. there's the window.close() method. however, that won't close the main browser window; it'll display a prompt, saying that javascript is trying to close the window. there's no way to get the window to close without the prompt.