linking to a page without standard buttons, toolbars, etc.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I create a link to page, that will only display the webpage, without
the toolbar, standard buttons, etc present. Any help would be appreciated,
thanks
 
Put this between <head> and </head>

<script language="JavaScript">
<!--//
function sep_window(chat) {
var spex =
"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=400,top=0,left=0";
var faststart = window.open(chat,'cstrain', spex);
faststart.focus();
}
//-->
</script>

The link:
<a href="javascript:sep_window('Somepage.htm');">My other page</a>

Won't work if user has javascript turned off. For more info google for window.open

MikeR
 
You can use a jscript function, as suggested by Nick or you can do it
this way:

<a
onClick="window.open('url','winpopup1','width=500,height=300,toolbar=1,menubar=1,location=1,status=1,resizable=1,scrollbars=1');return
false" href="URL" target=target="_blank">link lable</a>

To leave off the _bars change 1 to 0 or no.

If you do the above way, whether you directly use window.opne or a
though a function, the link will still work (w/toolbars) even if the
users disable script on the browser

...PC
 
Back
Top