Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript 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 July 22nd, 2003, 07:54 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 119
Thanks: 0
Thanked 1 Time in 1 Post
Default Why doesn't this code open window to fullscreen?

I do not know why the following code to open the window in a fullscreen mode is not working (any suggestions or direction would be appreciated, thank you):

<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<script LANGUAGE="JavaScript">
    function openDocOnFullScreen()
    {
        //openDocOnFullScreen=window.open("dictaphone.asp"," displayWindow","fullscreen=yes");
        window.open('dictaphone.asp', 'fullscreen=yes');
    }
</script>
</HEAD>

<BODY ONLOAD="openDocOnFullScreen()">
 
Old July 22nd, 2003, 08:18 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

the 2nd parameter is the window name, that's why your line isn't working, it should be:
Code:
window.open('dictaphone.asp', 'theWindowName', 'fullscreen=yes');
 
Old July 22nd, 2003, 10:59 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 119
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks for the reply. However, this did not work for me. My customer is now stating that he does want a fullscreen but with the titlebar that includes the X button to be able to exit the browser much like F11 does in IE under the View Menu.

ANY help would be appreciated. Thanks!!
 
Old July 22nd, 2003, 11:16 PM
Authorized User
 
Join Date: Jun 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to planeswalk
Default

Hi,

What you need to do is to "maximize" the window, not put it to "fullscreen" mode. The following URL should help : http://www.devscripts.com/visit.php?sId=1761.


Cheers!
Marlon
 
Old July 23rd, 2003, 09:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 119
Thanks: 0
Thanked 1 Time in 1 Post
Default

Marlon -- Thanks very much for your time. That got it!!

Quote:
quote:Originally posted by planeswalk
 Hi,

What you need to do is to "maximize" the window, not put it to "fullscreen" mode. The following URL should help : http://www.devscripts.com/visit.php?sId=1761.


Cheers!
Marlon






Similar Threads
Thread Thread Starter Forum Replies Last Post
window.open() ckrajeshvarma ASP.NET 2.0 Professional 5 August 16th, 2006 09:13 AM
Open New Window b_camp Classic ASP Basics 2 May 12th, 2005 01:19 AM
Open in new window sridevi Excel VBA 1 November 4th, 2004 06:49 AM
FullScreen question savoym Javascript 2 July 22nd, 2003 07:52 AM





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