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
    Regular Coder
    Join Date
    Jun 2002
    Location
    Vancouver, WA
    Posts
    233
    Thanks
    2
    Thanked 0 Times in 0 Posts

    In IE, Window.open Creates Extra Bar at Top with IE Logo and URL

    When I'm looking at my site on the web (not on my hard drive), and do a Window.open():

    window.open('show.html',page,top=0,left=0,width=690,height=535')

    I get a bar I don't want above the image area in IE only.

    It has the IE logo on the left, then the URL (it's not in a location box that you can change), then a drop down arrow.

    Is it possible to get rid of this distraction?

    Thanks!

    Peter

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Change
    window.open('show.html',page,top=0,left=0,width=690,height=535')
    to
    Code:
    window.open('show.html',page,'top=0,left=0,width=690,height=535,location=no')
    see http://www.w3schools.com/HTMLDOM/met_win_open.asp
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    IE7 has a security feature in it to not hide the address bar so you know where the page is exactly. You can not hide it if the user has the feature enabled.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Vancouver, WA
    Posts
    233
    Thanks
    2
    Thanked 0 Times in 0 Posts
    location=no gets ride of the standard bar where you can enter a URL, but as A1ien51 points out, you otherwise can't get rid of it.

    My problem was that it was wasting valuable space at 800 screen reso. I guess not many people use that anymore, and I notice nowadays a lot of websites fail (you have to scroll horizontally just to see the homepage!) now because the web designers don't fuss about it. But I have a friend with poor vision who always reminds me.

    In the end I used fullscreen=yes and it totally solved the probelm, getting rid of ALL the bars!

    Thanks for the input,

    Peter


  •  

    Posting Permissions

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