Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove Address Bar

Status
Not open for further replies.

stewartwebb

Programmer
Jan 6, 2004
92
GB
Hi all,

We have a web system which all users use IE.

What i'm trying to do is if a user is in the system to remove the address bar. I'm thinking this will have to go in the global css, but how is it done?

Any ideas?

Thanks Stewart.
 
You cannot remove the browser toolbars using CSS. This can ONLY be done at the stage where you open a new window programatically (using a scripting language such as JavaScript or VBScript).

Dan



[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Thanks Dan,

Are you able to point me in the right direction to finding the code to do this in javascript or do you want me to post another question in the javascript forum?

Stewart.
 
I'm happy to post it, as it's got HTML in it ;-):

Code:
<a href="[URL unfurl="true"]http://www.google.co.uk/"[/URL] onclick="javascript:window.open(this.href, '', 'location=no'); return(false);">Open a new window</a>

Hope this helps,
Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top