Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Maximizing windows and removing toolbars


Message #1 by Terrence Joubert <Terrence@v...> on Wed, 17 Apr 2002 08:10:43 +0400
This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C1E630.4927FA60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

<HEAD>


<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=none');
}
//  End -->
</script>
</HEAD>

<BODY onload=Javascript:fullScreen('yourpage.htm')>
  -----Original Message-----
  From: Terrence Joubert [mailto:Terrence@v...]
  Sent: 17 April 2002 06:11
  To: JavaScript HowTo
  Subject: [javascript_howto] Maximizing windows and removing toolbars
  Importance: High


  Hi,



  I would like to open a new window using the window.open() method in
JavaScript. The window must be open in maximized mode so that it fills the
user's screen.

  Does anyone has a tip for that?



  Currently, I am just setting its width to window.screen.availWidth and its
height to window.screen.availHeight. However, when this is done, the Windows
task bar hides part of the new window and the user has to maximize the
window so as to be able to see the bottom part.



  Another problem that I have is how to remove all the toolbars from an
Internet Explorer browser window. I know how to do it with the window.open()
method, but I mean for the current window object itself, I do not. Can
anyone help me out?



  Thanks

  Terrence

  --- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20 ---



  Return to Index