Discussion:
menubar and toolbar show up in window.open
(too old to reply)
sunilsjs
2008-06-09 21:36:00 UTC
Permalink
I am opening a new child window using the following javascript command :-
window.open(URL, 'Download',
'location=no,status=1,resizable=no,width=300,height=300)
It generally does NOT display the standard browser menubar and toolbar when
opened in IE6 or IE7. But on one of the machines it is showing the menubar
and toolbar. The configuration of the machine is
OS - Windows XP professional 5.1 SP2
Browser - IE 6 SP2
Is there some setting which will always show menubar/toolbar in the browser?
Any help/suggestion on this is highly appreciated. Thanks in advance.
PA Bear [MS MVP]
2008-06-09 23:33:01 UTC
Permalink
See these MSDN pages: http://msdn2.microsoft.com/en-us/ie/default.aspx &
http://msdn2.microsoft.com/en-us/ie/aa740476.aspx

MSDN IE Development Forums
http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=253&SiteID=1
--
IE General (all versions) newsgroup:
news://msnews.microsoft.com/microsoft.public.internetexplorer.general

~Robear Dyer (PA Bear)
MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002
Post by sunilsjs
I am opening a new child window using the following javascript command :-
window.open(URL, 'Download',
'location=no,status=1,resizable=no,width=300,height=300)
It generally does NOT display the standard browser menubar and toolbar when
opened in IE6 or IE7. But on one of the machines it is showing the menubar
and toolbar. The configuration of the machine is
OS - Windows XP professional 5.1 SP2
Browser - IE 6 SP2
Is there some setting which will always show menubar/toolbar in the browser?
Any help/suggestion on this is highly appreciated. Thanks in advance.
rob^_^
2008-06-10 03:22:17 UTC
Permalink
Hi sunilsjs,

Would that machine be using either the Google, Live, Yahoo, Adobe or Wot
toolbar. Some versions of these toolbars are known to hijack IE's toolbar
layout.

Try on that machine when running in noAddons mode.

Regards.
Post by sunilsjs
I am opening a new child window using the following javascript command :-
window.open(URL, 'Download',
'location=no,status=1,resizable=no,width=300,height=300)
It generally does NOT display the standard browser menubar and toolbar when
opened in IE6 or IE7. But on one of the machines it is showing the menubar
and toolbar. The configuration of the machine is
OS - Windows XP professional 5.1 SP2
Browser - IE 6 SP2
Is there some setting which will always show menubar/toolbar in the browser?
Any help/suggestion on this is highly appreciated. Thanks in advance.
sunilsjs
2008-06-10 18:03:01 UTC
Permalink
Hi Rob,
Thanks for your reply!
We do not have any third party toolbars on that machine. Tried the no add
ons mode and it is still showing the menubar and toolbar.
Regards
Post by rob^_^
Hi sunilsjs,
Would that machine be using either the Google, Live, Yahoo, Adobe or Wot
toolbar. Some versions of these toolbars are known to hijack IE's toolbar
layout.
Try on that machine when running in noAddons mode.
Regards.
Post by sunilsjs
I am opening a new child window using the following javascript command :-
window.open(URL, 'Download',
'location=no,status=1,resizable=no,width=300,height=300)
It generally does NOT display the standard browser menubar and toolbar when
opened in IE6 or IE7. But on one of the machines it is showing the menubar
and toolbar. The configuration of the machine is
OS - Windows XP professional 5.1 SP2
Browser - IE 6 SP2
Is there some setting which will always show menubar/toolbar in the browser?
Any help/suggestion on this is highly appreciated. Thanks in advance.
rob^_^
2008-06-13 09:33:59 UTC
Permalink
Hi sun,

I can think of no other reason. There is a security setting to show an
address bar on popups in IE7, but this should not display the menu bar if it
is not selected in the Window.open arguments.

Aren't you missing toobars=no in your argument?

Actually that is the problem... here is a link explaining the arguments of
window.open

http://www.pageresource.com/jscript/jwinopen.htm

Regards.
Post by sunilsjs
Hi Rob,
Thanks for your reply!
We do not have any third party toolbars on that machine. Tried the no add
ons mode and it is still showing the menubar and toolbar.
Regards
Post by rob^_^
Hi sunilsjs,
Would that machine be using either the Google, Live, Yahoo, Adobe or Wot
toolbar. Some versions of these toolbars are known to hijack IE's toolbar
layout.
Try on that machine when running in noAddons mode.
Regards.
Post by sunilsjs
I am opening a new child window using the following javascript command :-
window.open(URL, 'Download',
'location=no,status=1,resizable=no,width=300,height=300)
It generally does NOT display the standard browser menubar and toolbar when
opened in IE6 or IE7. But on one of the machines it is showing the menubar
and toolbar. The configuration of the machine is
OS - Windows XP professional 5.1 SP2
Browser - IE 6 SP2
Is there some setting which will always show menubar/toolbar in the browser?
Any help/suggestion on this is highly appreciated. Thanks in advance.
Loading...