Forum Moderators: open

Message Too Old, No Replies

creating a webpage that closes when its opened

webpge that closes when its opened!

         

nolimit966

7:18 pm on Aug 16, 2004 (gmt 0)

10+ Year Member



is it possible to use java/script or html code to create a webpage that closes or automaticly minimises on its own as soon as its opened?
sounds strange but i have a idea for a site stats counter in mind.
thanks a lot for everyones help ;)

Bernard Marx

8:19 pm on Aug 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<script>
window.close()
</script>

nolimit966

8:25 pm on Aug 16, 2004 (gmt 0)

10+ Year Member



thanx a lot ;)

nolimit966

8:30 pm on Aug 16, 2004 (gmt 0)

10+ Year Member



is there such a script that minimises the html page when its opened either?
thanks so much for your help didnt realise it was so simple

nolimit966

8:34 pm on Aug 16, 2004 (gmt 0)

10+ Year Member



sorry, ive found it, thanks once again!

Bernard Marx

8:35 pm on Aug 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No. There's no way to minimise a window.

Opening, closing, moving or resizing windows is considered irritating, and is becoming unreliable these days. You might consider doing what you want to do with an invisible IFRAME element instead.