473,549 Members | 3,065 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hiding the toolbar, menubar, etc?

How can the toolbar and menubar be hidden in IE?

When opening the window via javascript I can specify
'toolbar=no,men ubar=no', which works fine.
However if the window already exists how can I remove them? If the browser
is Netscape I can use javascript:
window.toolbar. visible = false;
window.menubar. visible = false;
but IE produces the error:
"'window.toolba r.visible' is null or not an object".
Is there a different window attribute or method I should use, or do I need
to do this with VBScript?

Thanks.
Jul 20 '05 #1
15 65733

"Code Monkee" <mo****@monkeeb usiness.com> wrote in message
news:fL******** ************@gi ganews.com...
How can the toolbar and menubar be hidden in IE? [in the main window]
You can't, and why would you want to? This would make your visitors simply
*hate* you. They wouldn't be able to leave your site. They wouldn't be able
to go back to what they were doing. They wouldn't be able to open their
Favorites. It would be a bloody mess. Your visitors would probably storm to
your house with rope, straw, and torches.
Is there a different window attribute or method I should use, or do I need
to do this with VBScript?


Irrelevant, both JScript and VBScript use the same DOM.
Jul 20 '05 #2
On Tue, 15 Jul 2003 15:34:06 -0500, Code Monkee wrote:
How can the toolbar and menubar be hidden in IE?

Is there a different window attribute or method I should use


There is no method you should use. People tend to like their toolbars.

--
Toby A Inkster BSc (Hons) ARCS | mailto:to*****@ goddamn.co.uk | pgp:0x6A2A7D39
aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:ta*@jabb er.linux.it
http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
playing://(nothing)
Jul 20 '05 #3
"spaghetti" <sp*******@aspy re.net> wrote in message
news:wp******** **********@news read1.prod.itd. earthlink.net.. .
This would make your visitors simply
*hate* you. They wouldn't be able to leave your site. They wouldn't be able
to go back to what they were doing. They wouldn't be able to open their
Favorites. It would be a bloody mess. Your visitors would probably storm to
your house with rope, straw, and torches.


I'll bring the rope. Assemble up by the old mill at midnight. We gotta fight for
them toolbars boys.......

--
Andrew Davidson
Jul 20 '05 #4
Andrew Davidson wrote:
"spaghetti" <sp*******@aspy re.net> wrote in message
news:wp******** **********@news read1.prod.itd. earthlink.net.. .
This would make your visitors simply
*hate* you. They wouldn't be able to leave your site. They wouldn't
be able to go back to what they were doing. They wouldn't be able to
open their Favorites. It would be a bloody mess. Your visitors would
probably storm to your house with rope, straw, and torches.


I'll bring the rope. Assemble up by the old mill at midnight. We
gotta fight for them toolbars boys.......


I'll be there. But keep it quiet - we don't want them to know we are
coming... ;-)

--

Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #5
I'll bring the rope. Assemble up by the old mill at midnight. We
gotta fight for them toolbars boys.......


I'll be there. But keep it quiet - we don't want them to know we are
coming... ;-)


Ooookay, I put together a list of things we need. Let's make sure we do this
proper, alright?

- Duct tape
- Pickaxe
- Shania Twain CD
- Rubber hose
- Dish to pass
- Paper plates
- Napkins
- Can of gasoline
- Blow torch


Jul 20 '05 #6
spaghetti wrote:

Ooookay, I put together a list of things we need. Let's make sure we
do this proper, alright?

- Duct tape
- Pickaxe
- Shania Twain CD
- Rubber hose
- Dish to pass
- Paper plates
- Napkins
- Can of gasoline
- Blow torch


You forgot the earplugs so *we* don't have to listen to Shania Twain. ;-)
Other than that, looks like we're set.

--

Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #7
"Code Monkee" <mo****@monkeeb usiness.com> wrote in message
news:fL******** ************@gi ganews.com...
How can the toolbar and menubar be hidden in IE?


How can I get into your house and hide all the furniture?

--
Andrew Davidson
Jul 20 '05 #8
DU
Andrew Davidson wrote:
"Code Monkee" <mo****@monkeeb usiness.com> wrote in message
news:fL******** ************@gi ganews.com...
How can the toolbar and menubar be hidden in IE?

How can I get into your house and hide all the furniture?

--
Andrew Davidson


How can a radio station hide all the other knobs and buttons by which an
user could choose the volume setting, radio station and other
customization features available on a radio?

How could a tv broadcasting corporation implement a device working via
waves which would prevent listeners from going to the bathroom (or
leaving the living room) while advertisements are playing?

How can an application take over full and absolute control over (and
impose brutally its preferences) its users, customers via the
application, software, device which is supposed to promote its product,
respect the intelligence of its users, visitors, listeners, customers?

How can an application impose brutally its preferences to its users,
customers via the application which is supposed to promote its product,
respect the intelligence of its users, visitors, listeners, customers?

DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/

Jul 20 '05 #9
Whoa Nellie!!!
Zealots, RELAX PLEASE.

The reason I wanted to remove the toolbar and menubar is because this
particular popup is launched from a 3rd party app, so I have no control over
it's original creation state, and the one and only purpose of this popup is
for form entry and I simply wanted to increase the odds that the user
wouldn't need to scroll to view the whole form.
(All concerns about removing things from the browser should be moot, since
the purpose of this window is not to browse but to enter information into a
form. And if they want to copy the content, gee, the right mouse button lets
them do that, doesn't it? Yes it is your browser, but it's my popup!)

After all the firestorm of postings, apparently nobody knows (or is willing
to tell) how to do this!

BTW, if you plan on coming to my house with rope and gasoline you might as
well bring your crosses and bedsheets too, but I hope your ass is dog bite
and rock salt proof.

"Code Monkee" <mo****@monkeeb usiness.com> wrote in message
news:fL******** ************@gi ganews.com...
How can the toolbar and menubar be hidden in IE?

When opening the window via javascript I can specify
'toolbar=no,men ubar=no', which works fine.
However if the window already exists how can I remove them? If the browser is Netscape I can use javascript:
window.toolbar. visible = false;
window.menubar. visible = false;
but IE produces the error:
"'window.toolba r.visible' is null or not an object".
Is there a different window attribute or method I should use, or do I need
to do this with VBScript?

Thanks.

Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1965
by: Chris | last post by:
Hi I have designed my website to fit my standard windows. I use a javascript scroller that nescitates the removal of the browser scroll bars. However if a user has an extra toolbar open in his browser like a google or yahoo toolbar or a links toolbar it pushes the content down and slightly out of view. I don't want to use a pop up...
4
3818
by: JesusFreak | last post by:
From: us_traveller@yahoo.com (JesusFreak) Newsgroups: microsoft.public.scripting.jscript Subject: toolbar script problem NNTP-Posting-Host: 192.92.126.136 Recently, I downloaded the following beautiful script "http://javascript.internet.com/navigation/toolbar-menu.html". It works like a charm. I made my webpage in frames, where the...
12
2640
by: DEN | last post by:
Hello, I need to remove toolbar and menubar from my current window (not opened with window.open, it would be too easy!!!). I've tried to use the window.toolbar.visible=false property, but it has no effect. No error message in the javascript console, nor any effect on the current window. I've tried Firefox and IE, same effect.... What...
8
1904
by: VB Programmer | last post by:
On some websites I've seen by clicking on a button or hlink a new IE browser window is spawned that does NOT have any toolbar (ie No back button, etc...) How can I do this on my ASPX page? Thanks.
8
2858
by: Jho | last post by:
Is it wise to do the following to hide html source and other info. I plan to do a popup window which would close my existing web page and popup a window in its place without toolbar and menubar. are there any disadvantages of hiding browser toolbar and menubar ?
1
1308
by: RJDev | last post by:
Hi, Do yoy have any idee on how to manipulate the explorer browser screen. I wont to make my web app so the menubar toobar and statusbar are hidden. The minimize and maximize options need to be available. All off this from within the codebehind page. Regards. RJ
0
1038
by: Jeff | last post by:
The code below works to open an new browser window without toolbar, etc. I'm also attempting to hide the vertical scroll bar. Could someone tell me what I need to add to this code to do so (in a way that a new VB.net user can understand?) Thanks Jeff Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
4
10313
by: Jon | last post by:
Hi, I am calling the function showpopupWindow(item) to open and write a popup window. When testing in IE6 locally the popup window displays my text in both the title and status bars but when viewed online from my website the titlebar text is preceded by the full URL and a - ( eg http://www.........co.uk - text I want to display) and the...
0
7518
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7715
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7956
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7469
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7808
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5087
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1057
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.