Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 10th, 2004, 05:17 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default Minimize the window

I want to minimize the browser windows by using my code.
Actually problem is that my application runs on LAN with full screen and I made the close the button but dont know how to make the minimize button.
Any help will be appriciated.

(*_*)



Numan
--------------------------------------------------
Love is the most precious thing of this world. So find it and grab it!
__________________
(*_*)

Numan
--------------------------------------------------
It is not important what you get But important is  how you got it
 
Old September 10th, 2004, 05:34 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Can't be done (without ActiveX). You can resize to a small, but not tiny, size and you can self.blur().

--

Joe

--

Joe (Co-author Beginning XML, 3rd edition)
 
Old September 10th, 2004, 09:59 AM
Authorized User
 
Join Date: Sep 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would just blur the window or focus another one. you could also position the window off the screen. but even if this does have the desired effect but it will have problems with windows xp service pack 2 which doesn't allow off screen positioning.

If it's style it should be in the stylesheet not in the html.
 
Old September 10th, 2004, 10:04 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Yes, in agreement with "isNaN", blurring the window will have a similar effect to minimizing when dealing with a fullscreen window.

HTH,

Snib

<><





Similar Threads
Thread Thread Starter Forum Replies Last Post
When I minimize my form and then maximize it again ehsemsar Crystal Reports 0 January 3rd, 2007 08:39 AM
How to Minimize use of javascript sharmamilan Javascript 1 June 8th, 2005 10:58 AM
minimize all modal forms m29 VB.NET 0 January 4th, 2005 04:49 PM
Changing minimize button snowy0 VB.NET 3 July 29th, 2004 10:52 AM
Minimize and Maximize bmains VB.NET 7 July 26th, 2004 07:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.