Results 1 to 7 of 7

Thread: Quick 'window.open' Question . . . [RESOLVED]

  1. #1

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Resolved Quick 'window.open' Question . . . [RESOLVED]

    Syntax please, to open a browser with no address bar, no status bar, but only a menu bar.

    Does the URL or location of the page I want to open go into the first '' ?

    It's something like this:

    Code:
    'javascript:
    window.open('','NewWin','toolbar=no,status=no,
    width=100px,height=100px,resizable=no,scrollbars=no,
    top=100px,left=200px');
    BONUS QUESTION: Maybe it's possible to even reduce the menu down to only allow "PRINT" and "EXIT" to show?

    Thanks,
    CP
    Last edited by milkmood; May 11th, 2005 at 11:22 AM.

  2. #2
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Quick 'window.open' Question . . .

    I moved your thread to the "javascript" section.


    ØØ

  3. #3

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Re: Quick 'window.open' Question . . .

    K, sorry.

  4. #4
    Member
    Join Date
    Mar 2005
    Posts
    56

    Re: Quick 'window.open' Question . . .

    Yes, the first argument is the URL. window.open()

  5. #5

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Re: Quick 'window.open' Question . . .

    Then I want to close the window with the script...hopefully, so it's never even seen.

    Is it something like :

    this.close();

    Thanks,
    CP

  6. #6
    Member
    Join Date
    Mar 2005
    Posts
    56

    Re: Quick 'window.open' Question . . .

    window.close()

  7. #7

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Re: Quick 'window.open' Question . . .

    Got it!

    Thanks,
    CP

Posting Permissions

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



Click Here to Expand Forum to Full Width