Results 1 to 3 of 3

Thread: Control the size of the Pop Up window

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513

    Question Control the size of the Pop Up window

    With Jscript how can I display a good pop up window...
    I try using this code but I cannot modify the size of the window eventhough the line of code has the parameters to do so... This window is very large in size whereas I want a simple Pop up window...
    window.open('Page1.asp','newWin',menubar='no',status='no',toolbar='no',copyhistory='no', resizeable= 'no',height=300,width=150);

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    you probably have to remove the resizable part
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Aren't the config options supposed to be encased in quotes? Could be wrong, but try this:

    window.open('Page1.asp','newWin', "menubar='no',status='no',toolbar='no',copyhistory='no', resizeable= 'no',height=300,width=150");

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