Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    window.open - cannot open with scrollbars

    When creating a new window and specifying ANY features (on or off) at all like such:
    Code:
    <A HREF="javascript:void(0)"
    onclick="window.open('NONE.php','welcome','toolbar=1,location=1,directories=1,status=1,menubar=1,resizable=1,scollbars=1')">
    Open a new window</A>
    the new window does not have scrollbars even though scrollbars are necessary for my document (vertically, at least).

    This problem occurs in Firefox and Internet Explorer 6. The problem does NOT occur if there are no features are specified.

    An explaination of why this occurs or a workaround would be very much appreciated!

    Thanks!

  • #2
    New Coder
    Join Date
    May 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by patdivenii
    The problem does NOT occur if there are no features are specified.
    For instance using,
    Code:
    window.open('NONE.php','welcome','')
    will actually create a window with scrollbars.

    And by the way, "NONE.php" is nothing but the following example and obviously needs a verticle scrollbar for most screen resolutions:
    Code:
    <body>
    <NOBR>FSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFAFSADFASDFASDFA</NOBR>
    </body>

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    It would help if you actually spelt scrollbars correctly.
    Code:
    ,  scrollbars=1'
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #4
    New Coder
    Join Date
    May 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My god that was actually it...

    And the sad part is I must've typed this three times.

    Good eye. Thank you!


  •  

    Posting Permissions

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