Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 1st, 2007, 05:53 AM
Registered User
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to turn on or off standard bar of IE Browser

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
 
Old March 9th, 2007, 04:21 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

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.

Code:
<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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Query in a browser/address bar i.e. default.aspx?i takwirira ASP.NET 2.0 Basics 1 June 12th, 2008 07:58 AM
Search - Turn Off All Sites druk BOOK: Beginning SharePoint 2007: Building Team Solutions with MOSS 2007 ISBN: 978-0-470-12449-9 1 December 18th, 2007 12:49 PM
cookie turn off swagatika ASP.NET 1.0 and 1.1 Basics 2 March 15th, 2006 09:25 AM
How do disable Menu bar & address bar for browser bekim HTML Code Clinic 2 January 7th, 2005 12:33 AM
How to trap Mouse events on Title bar/Caption bar chiefouko Pro VB.NET 2002/2003 0 September 21st, 2004 02:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.