468,256 Members | 1,426 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,256 developers. It's quick & easy.

Removing ToolBar from browser...?

Hi All,

Just wondering there is any other way to remove the toolbar from the browser
than using

" ...toolbar=no ..."

in the

window.open(...)

is there a way to do it after the browser opened? (say some Java script)

are there any parameters or style like stuff that can be embedded in the
HTML code and does it when the new page created?

or is the above method the ONLY way???

TIA,

Tom
Jul 17 '05 #1
10 2525
Tom Szabo wrote:
Just wondering there is any other way to remove the toolbar from the browser


How you remove a toolbar depends on the browser. Consult a
newsgroup which deals with your particular browser.

--
Jock
Jul 17 '05 #2
Tom Szabo wrote:

Just wondering there is any other way to remove the toolbar from the browser
than using

" ...toolbar=no ..."

in the

window.open(...)

is there a way to do it after the browser opened? (say some Java script)

are there any parameters or style like stuff that can be embedded in the
HTML code and does it when the new page created?

or is the above method the ONLY way???


That's the only way I'm aware of. PHP certainly won't do it for you. You could
try a javascript newsgroup. You might be able to do a JS test where you check
the window name. If the current window is some obscure name that you set, then
proceed normally. If not, open a new window without the toolbar and load the
current page into it. Then close the parent window.

Shawn

--
Shawn Wilson
sh***@glassgiant.com
http://www.glassgiant.com
Jul 17 '05 #3
"John Dunlop" <us*********@john.dunlop.name> wrote in message
news:MP************************@News.Individual.NE T...
Tom Szabo wrote:
Just wondering there is any other way to remove the toolbar from the
browser
How you remove a toolbar depends on the browser. Consult a
newsgroup which deals with your particular browser.

--
Jock

There is no particular browser. What I want to find out if, using code,
there is another way or no.

Is there an alternative to:

window.open( ?, ?, "....toolbar=no...")

this will do it when opens the window, but can it be done by some HTML
parameters etc in the page's code itself or with Java Script when the page
is already open.

I am not talking about how would the user configure it...
Jul 17 '05 #4

"Shawn Wilson" <sh***@glassgiant.com> wrote in message
news:41***************@glassgiant.com...
Tom Szabo wrote:

Just wondering there is any other way to remove the toolbar from the browser than using

" ...toolbar=no ..."

in the

window.open(...)

is there a way to do it after the browser opened? (say some Java script)

are there any parameters or style like stuff that can be embedded in the
HTML code and does it when the new page created?

or is the above method the ONLY way???
That's the only way I'm aware of. PHP certainly won't do it for you. You

could try a javascript newsgroup. You might be able to do a JS test where you check the window name. If the current window is some obscure name that you set, then proceed normally. If not, open a new window without the toolbar and load the current page into it. Then close the parent window.

Shawn

--
Shawn Wilson
sh***@glassgiant.com
http://www.glassgiant.com


Thanks Shawn,

Would be good if you wouldn't be correct, but I am afraid, you are....but
still hoping :-)

Thanks again,

Tom
Jul 17 '05 #5
In article <41********@dnews.tpgi.com.au>,
"Tom Szabo" <to*@intersoft.net.au> wrote:

:Is there an alternative to:
:
: window.open( ?, ?, "....toolbar=no...")
:
:this will do it when opens the window, but can it be done by some HTML
:parameters etc in the page's code itself or with Java Script when the page
:is already open.
:
:I am not talking about how would the user configure it...

It has to be done on the client. You can't change an open window's
parameters with PHP. You can use "onClick=" inside an anchor to open a
new window with any parameters you want (but that's Javascript), and
then close the parent window; be aware that your user may have disabled
Javascript, or disallowed modification of some of the parameters you
want to change.

Javascript is more important now, I've found, since xhtml has outlawed
the "target" attribute of anchors.
--
Looks like more of Texas to me.
.... Arizona, where the nights are warm and the roads are straight.
Jul 17 '05 #6
:Is there an alternative to:
:
: window.open( ?, ?, "....toolbar=no...")
:
:this will do it when opens the window, but can it be done by some HTML
:parameters etc in the page's code itself or with Java Script when the page :is already open.
:
:I am not talking about how would the user configure it...

It has to be done on the client. You can't change an open window's
parameters with PHP. You can use "onClick=" inside an anchor to open a
new window with any parameters you want (but that's Javascript), and
then close the parent window; be aware that your user may have disabled
Javascript, or disallowed modification of some of the parameters you
want to change.

Javascript is more important now, I've found, since xhtml has outlawed
the "target" attribute of anchors.

I understand it has to be done on the client if Java, but I thought there
may be something in the <BODY ....> Tag or header that one can set...

I need to open a new window, a plain one like in windows programming, and
submit data from one window to the next.
To work like STD Windows type apps the only constrainst I have at the
moments is that I can't submit a form into a new window where I can
reconfigure the browser:

<input
onclick="window.open('Test.Html',null,'status=yes, toolbar=no,menubar=yes,loc
ation=no');" type="submit" value="Submit" name="B1">

If I do this, it will open the window as I wish, but will not submit at the
same time or I can do this:

<input type="button" value="submit" name="Use_Btn"
onclick="window.TEST_FORM.submit()">

this will submit and it I set the target in the form to "_new" I will have a
new window open, data submitted, but in a browser style.

this is my problem...:-(
Jul 17 '05 #7
On Sat, 13 Nov 2004 07:54:20 -0500, Warren Oates <wa**********@gmail.com>
wrote:
Javascript is more important now, I've found, since xhtml has outlawed
the "target" attribute of anchors.
Has it? The XHTML 1.0 Transitional DTD has the following:

<!--================== The Anchor Element ================================-->

<!-- content is %Inline; except that anchors shouldn't be nested -->

<!ELEMENT a %a.content;>
<!ATTLIST a
%attrs;
%focus;
charset %Charset; #IMPLIED
type %ContentType; #IMPLIED
name NMTOKEN #IMPLIED
href %URI; #IMPLIED
hreflang %LanguageCode; #IMPLIED
rel %LinkTypes; #IMPLIED
rev %LinkTypes; #IMPLIED
shape %Shape; "rect"
coords %Coords; #IMPLIED
target %FrameTarget; #IMPLIED


http://www.w3.org/TR/xhtml1/dtds.htm...sitional.dtd_a

Looks like targets are still there? The Strict DTD doesn't have target, but
then again neither did the HTML Strict DTD.

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #8
In article <a9********************************@4ax.com>,
Andy Hassall <an**@andyh.co.uk> wrote:

: Looks like targets are still there? The Strict DTD doesn't have target, but
:then again neither did the HTML Strict DTD.

Sorry, I meant in the strict DTDs. FWIW, xhtml 1.1 is _only_ strict, and
I kind of like that "you're either on the bus or off the bus" approach.
I don't do this for a living, though, so I can afford that kind of
orthodoxy.

I do this kind of thing:

<a href="http://www.google.com/"
onclick="window.open(this.href,'newwin'); return false;"
title="Google">

(wrapped up tidily in a function, of course).
--
Looks like more of Texas to me.
.... Arizona, where the nights are warm and the roads are straight.
Jul 17 '05 #9
Tom Szabo wrote:
I understand it has to be done on the client if Java, but I thought there
may be something in the <BODY ....> Tag or header that one can set...


No. And it's not Java, it's JavaScript. That's a _big_ difference.

Matthias
Jul 17 '05 #10
Tom Szabo wrote:
Is there an alternative to:

window.open( ?, ?, "....toolbar=no...")


Yes. This:

--
Jock
Jul 17 '05 #11

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Chris | last post: by
8 posts views Thread by Tom Szabo | last post: by
8 posts views Thread by VB Programmer | last post: by
8 posts views Thread by Jho | last post: by
2 posts views Thread by rodchar | last post: by
21 posts views Thread by mantrid | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.