Article View: aus.computers.java
Article #519Re: minimize a window that was maximized with JavaScript
From: Martin Honnen
Date: Fri, 11 Aug 2000 00:00
Date: Fri, 11 Aug 2000 00:00
34 lines
1711 bytes
1711 bytes
You can close the window with JavaScript:
window.close()
so provide a link
<A HREF="javascript: window.close(); void 0">
close window
</A>
Joel Callahan wrote:
>
> Hello...
>
> I grabbed some sort code from www.planet-source-code.com to maximize a
> window using JavaScript. It was very simple (just one line).
>
> window.open("page.html","winname","fullscreen=yes")
>
> Now, my problem is... how do I shut it?? There are NO toolbars or anything
> like that at the top. I have to hit CTRL-ALT-DEL and kill it in task
> manager.
> I'd LOVE to use this code in my webpage, because I have the screen designed
> so it will JUUUST fit at 800x600.
>
> Any advice?
>
> Thanks in advance...
>
> -Joel
> joel@dhimaging.com.au
--
Martin Honnen
http://javascript.faqts.com/
http://home.t-online.de/home/martin.honnen/jsgoddies.html
Technical Details
Message-ID:
<39935FBF.9E5A81D7@t-online.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<tVIk5.28421$c5.80406@newsfeeds.bigpond.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb3cb,37e0ee6bbc1e6adc X-Google-Attributes: gidfb3cb,public X-Google-Thread: 10d6db,37e0ee6bbc1e6adc X-Google-Attributes: gid10d6db,public From: Martin Honnen <Martin.Honnen@t-online.de> Subject: Re: minimize a window that was maximized with JavaScript Date: 2000/08/11 Message-ID: <39935FBF.9E5A81D7@t-online.de> X-Deja-AN: 656998148 Content-Transfer-Encoding: 7bit References: <tVIk5.28421$c5.80406@newsfeeds.bigpond.com> X-Accept-Language: en,de X-Sender: 340033544582-0001@t-dialin.net Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@t-online.de X-Trace: news.t-online.com 965959506 12 24660 340033544582-0001 000811 02:05:06 Organization: Liberty Development Mime-Version: 1.0 Newsgroups: aus.computers.java,comp.lang.javascript