Google/Adobe/other (Pop up help)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clickingwires
    New Member
    • Oct 2007
    • 24

    Google/Adobe/other (Pop up help)

    What I want to be able to do is open a new window with JavaScript at a certain height and width. But I cannot use resizeto() to do this be cause if I say 500x500 it opens accordingly but if the user has Google toolbar or Adobe toolbar the viewable space of the page is less. I want to be able to fix the inner hight and width so that it is the same in IE, FF, NN, and all other.

    Thanks
  • rnd me
    Recognized Expert Contributor
    • Jun 2007
    • 427

    #2
    use innerHeight instead.

    Code:
    var b= window.open()
    
    b.innerHeight=500
    b.innerWidth=500

    Comment

    • clickingwires
      New Member
      • Oct 2007
      • 24

      #3
      Originally posted by rnd me
      use innerHeight instead.

      Code:
      var b= window.open()
      
      b.innerHeight=500
      b.innerWidth=500

      This works in FireFox but it does not work in IE, is there a solution to this?

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        See this link.

        Comment

        Working...