PDA

View Full Version : question


sak_attack
05-25-2003, 08:36 PM
ok i want a page to do the following:

open for a millisecond, run the following code:

<script language="javascript">
function popup(){
var popurl="detailed.htm"
winpops=window.open(popurl,"","width=400,height=338,scrollbars,")
</script>

and close right after - without the user noticing anything - so the user ONLY sees a pop-up open up - i.e. he/she doesnt see the intermediate (empty) page.

please help

A1ien51
05-25-2003, 09:31 PM
If you are talking about closing the parent window you can not do it (Yes you can, but most people will kill you and not want to come back to your site)

If you want to see how to close the parent without a warning search the forum

to close it, after winpops=/////
place
self.close();

WA
05-25-2003, 10:53 PM
Hi Sak:
Please read our posting guidelines when posting in the future, specifically, regarding choosing a descriptive subject for your post: http://www.codingforums.com/postguide.htm