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!

Shut off all tool bars in browser

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
I am making a pop window using HTML code
and I would like it to be have minimal or no tool bars in the browser. Can they be shut off using HTML?
I have go to certain WEB sites and pops up come up that way how is it done? its just a frame with a "X" in the upper right corner.

here is my code so far

Code:
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="223" id="AutoNumber2" height="259">
  <tr>
    <td width="135" height="14"><a href="#Automobiles" name="Top"><font size="2">Automobiles</font></a></td>
    <td width="138" height="14"><font size="2">Mens</font></td>
  </tr>
  <tr>
    <td width="135" height="14"><font size="2"><a href="#Astrology">Astrology</a></font></td>
    <td width="138" height="14"><font size="2">Music </font> </td>
  </tr>
  <tr>
    <td width="135" height="14"><font size="2">
    <a href="#Arts AntiquesCollectables">Arts AntiquesCollectables</a></font></td>
    <td width="138" height="14"><font size="2">News </font> </td>
  </tr>
  <tr>
    <td width="135" height="14"><font size="2"><a href="#Boating">Boating</a></font></td>
    <td width="138" height="14"><font size="2">Outdoors </font> </td>
  </tr>
  <tr>
    <td width="135" height="14"><font size="2"><a href="#Children">Children</a></font></td>
    <td width="138" height="14"><font size="2">Photography </font> </td>
  </tr>
  <tr>
    <td width="135" height="14"><font size="2">Computers</font></td>
    <td width="138" height="14"><font size="2">Politics </font> </td>
  </tr>
....
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="229" id="AutoNumber1" height="200">
  <tr>
    <td width="198" colspan="4" bgcolor="#0000FF" height="15">
    <font color="#FFFFFF"><b><a name="Automobiles">Automobiles</a></b></font></td>
  </tr>
  <tr>
    <td width="27" height="14" bgcolor="#00FFFF"><font size="1">ID</font></td>
    <td width="140" height="14" bgcolor="#00FFFF"><font size="1">Title</font></td>
    <td width="33" height="14" align="center" bgcolor="#00FFFF"><font size="1">Issues</font></td>
    <td width="26" height="14" align="center" bgcolor="#00FFFF"><font size="1">Points</font></td>
  </tr>
  <tr>
    <td width="27" height="14"><font size="1">188</font></td>
    <td width="140" height="14"><font size="1">CAR &amp; DRIVER</font></td>
    <td width="33" height="14" align="center"><font size="1">.</font></td>
    <td width="26" height="14" align="center"><font size="1">.</font></td>
  </tr>
  <tr>
    <td width="27" height="14"><font size="1">31</font></td>
    <td width="140" height="14"><font size="1">CIRCLE TRACK</font></td>
    <td width="33" height="14" align="center"><font size="1">.</font></td>
    <td width="26" height="14" align="center"><font size="1">.</font></td>
  </tr>
  <tr>
    <td width="27" height="14"><font size="1">1010</font></td>
    <td width="140" height="14"><font size="1">AUTOWEEK</font></td>
    <td width="33" height="14" align="center"><font size="1">.</font></td>
    <td width="26" height="14" align="center"><font size="1">.</font></td>
  </tr>
  <tr>
    <td width="27" height="14"><font size="1">1174</font></td>
    <td width="140" height="14"><font size="1">AUTOMUNDO</font></td>
    <td width="33" height="14" align="center"><font size="1">.</font></td>
    <td width="26" height="14" align="center"><font size="1">.</font></td>
  </tr>
  <tr>
    <td width="27" height="14"><font size="1">360</font></td>
    <td width="140" height="14"><font size="1">AUTOMOBILE</font></td>
    <td width="33" height="14" align="center"><font size="1">.</font></td>
    <td width="26" height="14" align="center"><font size="1">.</font></td>
  </tr>
  <tr>
    <td width="27" height="14"><font size="1">4245</font></td>
    <td width="140" height="14"><font size="1">AMERICAN THUNDER</font></td>
    <td width="33" height="14" align="center"><font size="1">12</font></td>
    <td width="26" height="14" align="center"><font size="1">4</font></td>
  </tr>
  <tr>
    <td width="27" height="14"><font size="1">2550</font></td>
    <td width="140" height="14"><font size="1">4WD AND SPORT UTILITY</font></td>
    <td width="33" height="14" align="center"><font size="1">12</font></td>
    <td width="26" height="14" align="center"><font size="1">2</font></td>
  </tr>
  <tr>
    <td width="27" height="14"><font size="1">.</font></td>
    <td width="140" height="14">
    <p align="center"><a href="#Top"><font size="2">Return to top</font></a></td>
    <td width="33" height="14" align="center"><font size="1">.</font></td>
    <td width="26" height="14" align="center"><font size="1">.</font></td>
  </tr>
  </table>
....

DougP, MCP, A+
 
javascript and chromeless windows

search the forums there is dozens if not hundreds of threads

search Google or yahoo for it there will be lots more!

Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Chris is correct.... this can't be done with HTML.

There's always a better way. The fun is trying to find it!
 
Well how about a code snippet

DougP, MCP, A+
 
General JavaScript syntax for the window.open() function:
[tt]winRef = window.open( URL, name [ , features [, replace ] ] )[/tt]

I'll assume you know what URL and name (of the window) means.

The features parameter allows for:
-toolbars
-location
-directories
-status
-menubar
-scrollbars
-resizeable
etc.

So, in this parameter, specify 0 for off or 1 for on.

The following will open a window with just the "x":
var win = window.open(" "new_window", "toolbars=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");

*cLFlaVA
----------------------------
A pirate walks into a bar with a huge ship's steering wheel down his pants.
The bartender asks, "Are you aware that you have a steering wheel down your pants?"
The pirate replies, "Arrrrr! It's driving me nuts!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top