Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove lower status bar from IE browser 1

Status
Not open for further replies.

royyan

Programmer
Jul 18, 2001
148
US
How to remove the lower status bar which usually show hyperlink when mouse over in IE browser?
 
You could use this, but I think it only works in IE5+ (guessing). It'll open a new page with everything except a status bar and close the old one without a prompt. Crappy way of it doing it :|
Code:
<script>
<!--
onload = init;

function init() {
   HWND = window.open("myPage.htm","",config="status=no,scrollbars=yes,menubar=yes,resizable=yes,directories=yes,location=yes,toolbar=yes,height="+screen.availHeight+",width="+screen.availWidth);
   HWND.moveTo(0,0);
   window.opener = this;
   this.close();
}
//-->
</script>
 
Hi Supra,

I tried the code you gave me above. Why does the window frozes for a while before it loads the content? Any quick fix?
Thanks!
 
Doesn't freeze for me, but of course you might be loading a lot more content than I am. Is it possible you're loading the page from a slower server? Is your machine a little older? Is your memory low? There are a lot of things that can contribute to the speed in which new windows are opened. There is no quick fix that I know of to correct this sorry :(
 

I find that if I have a lot of IE windows open from the same IE process (i.e. not a new instance of iexplore.exe) when any popup opens, the time taken to open it increases for each other window open.

Do you have many other IE windows open, perhaps? If so, try closing them and see if you still experience the delay.

I have no idea why this happens, but I've seen it happen for many years now, on many different PCs - I guess it's just sloppy coding on Microsoft's behalf.

Hope this helps,
Dan
 
Thank you both for replying me.
I am working on company intranet, so server shouldn't be an issue.
I made a test. If I only put 'status=no' in config statement, it loads very quick. Once I start adding 'menubar=yes'..., the IE browser starts delay. Like Dan described, the more window I open, the more frequently the window delay.
I think this is a Microsoft issue.
 
I've always noticed that (generally) the more parameters I add to the config section of the window.open command, the slower the opening actually occurs.

By the way, if you're adding menubar=yes, etc., you don't need to include anything that equals 'no' since, by default, once you start adding these, anything not included is automatically assumed to be 'no'. At least that's true for IE6. I don't know if it would speed things up to drop such redundant parameters or if they are needed for cross-browser use (or maybe you want them just for the sake of someone else who might be reading your HTML).

--Dave
 

>> if you're adding menubar=yes, etc., you don't need to include anything that equals 'no'

To add to this, if the value is "yes", you don't need to specify "yes", as it is assumed. Thus this:

Code:
status=no,scrollbars=yes,menubar=yes,resizable=yes,directories=yes,location=yes,toolbar=yes

can be achieved like this:

Code:
scrollbars,menubar,resizable,directories,location,toolbar

As far as I know (well - according to my trusty first-edition O'Reilly DHTML guide, anyway ;o) this is perfectly acceptable and cross-browser.

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top