Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Thanked 0 Times in 0 Posts

    Window size/options javascript problems

    I am new to programming and am having difficulty explaining what I need. I have is a php page that is 270 pixels x 280 pixels in size with the toolbars, scroll bars, resize, status and other options turned off. I need to make this little login box or little page become full size with the tollbars, scroll bars and the other items back just like a normal browser window would look. This is what I crrrently have:
    <script type="text/javascript">
    window.moveTo(0, 0);
    window.resizeTo(screen.availWidth, screen.availHeight);
    This seems to work ok, but I do not have the toolbars, etc back. I have found a few sites that show code something like: window.open('toolbar=yes', 'location=yes', 'menubar=yes', 'scrollbars=yes'..........so on and so forth. I just cant figure out how to make this happen. Can anyone help me with this problem???

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    In a place far, far away...
    Thanked 1,043 Times in 1,019 Posts
    there is some code that is making your site not have those items, because by default every browser window has them, we would need to see the page in question, is there a link that you click to open that newly sized window?


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts