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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding the Browser toolbar

Status
Not open for further replies.

Bastien

Programmer
May 29, 2000
1,683
CA
Hi all,

What is the script to hide the broswer toolbar?

TIA Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
To do this you need to open up the the page in question in a new explorer window. I believe that by default the following script creates a window without the toolbar although there are options to display / remove the various different parts of the browser necessary. If you need a
list of these I can dig them up from somewhere.

Either put this in the Header if you want it to open when the page is loaded or put it in a function and call it from the body using the onlick event if you want it to be opened by user interaction.

<script>

var win = open(&quot;insert the url of the page here&quot;, &quot;insert the title of the window here&quot;, &quot;height=the new window's height, width=the new windows width&quot;);

</script>

Cheers

Rob
 
Hi all,

Is there a straight HTML code for this? Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
I don't believe there is a straight HTML way to do it. You will have to use scripting, Javascript is probably the best choice!

Cheers

Rob


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top