Browser Hide Button Bar

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
phppick
Forum Commoner
Posts: 57
Joined: Thu Aug 14, 2003 5:59 am

Browser Hide Button Bar

Post by phppick »

Hi,

I Have a Login page to my webbased project. Once the login is successful, i want to redirect a page, which won't show (button bar, like Back, Reload, Home , Forward buttons) . How can i make it? I don't won't open another window using window.open() etc.

I am running this on different browers, IE, NS, Camino, Mozilla.. etc.

Any one can help??
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

I don't know, but if find the answer to this, please let me know what it is somehow.
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

I've never seen any site doing this in my entire e-life.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: Browser Hide Button Bar

Post by Roja »

phppick wrote:Hi,

I Have a Login page to my webbased project. Once the login is successful, i want to redirect a page, which won't show (button bar, like Back, Reload, Home , Forward buttons) .
Yes, you can.

You do so using window.open, like so:

Code: Select all

<script language="JavaScript"><!--
msgWindow=window.open('apage.html','windowName','toolbar=no');
//--></script>
Or, you can disable particular buttons individually.

However..
phppick wrote: How can i make it? I don't won't open another window using window.open() etc.

I am running this on different browers, IE, NS, Camino, Mozilla.. etc.

Any one can help??
Because you dont want to open new windows, you cant. The window has the controls already there - the best you can do is EITHER open a new window without the toolbar, as I explained above, OR disable individual buttons using javascript.

Keep in mind that they can always disable javascript.

The better question to ask is why do you want to reduce user functionality - you shouldn't.
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

Post by basdog22 »

The better question to ask is why do you want to reduce user functionality - you shouldn't.
same question here....

99% of developers want to give the user MORE functionallity :roll:

well your way :wink:
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

May be he is making some client side software or a private site where he wants more room for his page and can only design for like 800x600 or something. Can't say it doesn't happen because that is pretty much my job description.
Post Reply