javascript thread: Fullscreen browser in single window, or without prompts on closin
g source window
Bad luck, you can't, occasionally there are hacks but none work cross
browser, even crosss version. The only scenario where it is possible is an
intranet where unsafe ActiveX is allowed.
Joe
>From: Darren Wogan <darren.wogan@s...>
>Reply-To: "javascript" <javascript@p...>
>To: "javascript" <javascript@p...>
>Subject: [javascript] Fullscreen browser in single window, or without
>prompts on closin g source window
>Date: Tue, 17 Dec 2002 14:29:04 -0000
>
>I want to be able to remove the toolbars from my current browser window,
>without opening a new window, or if opening a new one is necessary, to at
>least be able to close my original window (with toolbars) without being
>prompted about closing it.
>
>I know that the following bit of code will open a new browser window with
>no
>buttons, address or other headers:
>
> var features = "toolbar=no,directories=no,status=yes,menubar=no"
>+
> ",width=" + window.screen.width +
>",height=" + window.screen.height;
>
> // Setting the location of top-left corner of new window depends
>on type of browser
> if (isIE) {
> features += ",left=" + X_loc + ",top=" + Y_loc
> }
>
> if (isNav) {
> features += ",screenY=" + Y_loc + ",screenX=" + X_loc
> }
>
> newWin = window.open (theURL, targetWin, features, true);
>
>However is there any way I can loose the toolbars on my current window?
>I've seen this done on some websites/web based apps, so I know it must be
>possible. I am using Internet Explorer and targeting platforms for IE5.01+
>(or at least IE5.5+).
>
>
>*************************************************************************
>This message contains privileged and confidential information intended
>only for the use of the recipient named above. Its contents do not
>constitute a commitment by Strategic Thought Limited ("Strategic
>Thought") unless separately endorsed by an authorised representative
>of Strategic Thought.
>
>Any use, dissemination, distribution, reproduction or unauthorised
>disclosure of this message is prohibited. If you receive this message
>in error, please notify the sender immediately and delete it from your
>computer systems.
>
>Any views expressed in this message are those of the individual sender
>and may not necessarily reflect those of Strategic Thought.
>
>Strategic Thought believes this e-mail and any attachments to be virus
>free. However, the recipient is responsible for ensuring it is virus
>free and Strategic Thought do not accept any responsibility for any
>loss or damage howsoever caused from use of this e-mail, attachments
>or contents.
>*************************************************************************
>
>
>
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail