Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 22nd, 2003, 07:54 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Arlington, TX, USA.
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()">
Reply With Quote
  #2 (permalink)  
Old July 22nd, 2003, 08:18 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
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');
Reply With Quote
  #3 (permalink)  
Old July 22nd, 2003, 10:59 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Arlington, TX, USA.
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!!
Reply With Quote
  #4 (permalink)  
Old July 22nd, 2003, 11:16 PM
Authorized User
 
Join Date: Jun 2003
Location: Quezon City, MM, Philippines.
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
Reply With Quote
  #5 (permalink)  
Old July 23rd, 2003, 09:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Arlington, TX, USA.
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:21 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.