...

View Full Version : In IE, Window.open Creates Extra Bar at Top with IE Logo and URL



peterinwa
08-06-2008, 02:20 AM
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

abduraooft
08-06-2008, 08:52 AM
Change
window.open('show.html',page,top=0,left=0,width=690,height=535') to

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

A1ien51
08-06-2008, 03:26 PM
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

peterinwa
08-06-2008, 06:21 PM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum