NetTalk Central

Author Topic: Open Window Maximized  (Read 4126 times)

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Open Window Maximized
« on: February 09, 2009, 01:59:39 AM »
Is there a way to open a Window maximized or do the user have to maximize it himself?

Thanks
Charl

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Open Window Maximized
« Reply #1 on: February 09, 2009, 02:07:50 AM »
do you mean
"is there any way to maximize the browser that the site appears in when the user
browses to your site ?"

Cheers
Bruce

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Open Window Maximized
« Reply #2 on: February 09, 2009, 02:23:48 AM »
I guess that is what I mean :)

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Open Window Maximized
« Reply #3 on: February 09, 2009, 02:38:06 AM »
perhaps this'll work (I haven't tried it).

http://www.codelifter.com/main/tips/tip_018.shtml

----
Put the following script in the head of the page.  The window will reposition and resize to fill the full screen area.

<script language="JavaScript">

window.moveTo(0,0);
window.resizeTo(screen.width,screen.height);

</script>
-------

Cheers
Bruce

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Open Window Maximized
« Reply #4 on: February 09, 2009, 03:12:43 AM »
Thanks Bruce,

It works like magic!