SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2009
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    window.open scrollbars not showing in IE8

    using window.open to open a popup, the "scrollbars=1" thing is not working in IE8 for some reason (the window opens, its just that the scroll bar that isn't showing).

    works fine in firefox and chrome
    here is what I tried:
    Code JavaScript:
    window.open(source, null, "height=200, width=400,  scrollbars=yes, scrollbars=1, toolbar=no, resizable=1, menubar=no, location=no");
     
    window.open(source, null, "height=200, width=400");
     
    window.open(source, "blank", "scrollbars=1,toolbar=no,menubar=no,width=200,height=200, "); 
     
    window.open(source, "FarmQuery", 'resizable=1,scrollbars=1'); 
     
    window.open(source, '','Height=200px,Width=200px,menubar=no,toolbar=no,scrollbars:yes;')

    "source" is "http://google.com/" by the way

  2. #2
    SitePoint Guru
    Join Date
    Sep 2006
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tests indicate that to set scrollbars, I.E. accepts yes or a non-zero digit.
    Code:
    <input type="button" onClick='window.open("http://google.co.uk", "blank", "scrollbars=yes,toolbar=no,menubar=no,width=200,height=200" )', value="Open PopUps">
    Tab-indentation is a crime against humanity.


Bookmarks

Posting Permissions

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