|
Subject:
|
how to turn on or off standard bar of IE Browser
|
|
Posted By:
|
phuong171
|
Post Date:
|
3/1/2007 4:53:50 AM
|
Could you help me. i'm write a web application. everything is quite good, but when i use Javascript to turn on or off standard bar, address bar of IE browser then i don't know exactly which object of javascript to do this.
thanks a lot.
thach
|
|
Reply By:
|
richard.york
|
Reply Date:
|
3/9/2007 3:21:51 PM
|
There are a number of window options you can fiddle with.
Usually, you just include the options for the things that you do want. Popup windows come up with minimal features, by default.
<script type='text/javascript'>
window.open('/path/to/document', 'windowName', 'width=600,height=400,scrollbars=no,resizable=yes');
</script>
In the above code, I tell the browser I want the window to have scrollbars and be resizable, and its size. It won't have an address bar , or status bar, or any of that. Except in later versions of IE, which has disabled the ability to remove those components on all non-trusted sites.
If you're asking if there is something in IE that lets you turn off the address bar in a window that's already loaded, thankfully, that is not possible.
Regards, Rich
-- Author, Beginning CSS: Cascading Style Sheets For Web Design, 2nd Edition CSS Instant Results
http://www.catb.org/~esr/faqs/smart-questions.html
|