472,955 Members | 2,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,955 software developers and data experts.

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 2716
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: PK | last post by:
Hello, I am looking for help on the following. I'm trying to create a custom browser toolbar button that will do a few things. One that I'm trying to do at the moment is just simply return the...
3
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...
8
by: Tom Szabo | last post by:
Hi All, Just wondering there is any other way to remove the toolbar from the browser than using " ...toolbar=no ..." in the window.open(...)
102
by: me | last post by:
How do I prevent the save/print/email/mypictures toolbar from popping up when IE users place their cursor over photos at my website? Thank you in advance for your help. Signed, me
8
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? ...
8
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...
2
by: rodchar | last post by:
hey all, is it possible to make a toolbar that will be compatible with all browsers? also, does anyone have some basic resources on how to create a toolbar for a browser? thanks, rodchar
21
by: mantrid | last post by:
I use <form action="screen.php" target="_blank" method="post"and a submit button to open a new separate window which is simply a display screen. I therefore do not wish to have the address, tool...
0
by: Sky | last post by:
I have an Access 2003 front-end database with custom toolbars. The toolbars work fine. One annoying feature is that at the far right edge of each custom toolbar there a small dropdown arrow....
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.