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

Opening new pages without navigator buttons and tool bars present 1

Status
Not open for further replies.

mattpearcey

Technical User
Mar 7, 2001
302
GB
I want to have hyperlinks on my site that are to show examples of forms, which happen to be in html. So i am adding them to my site, then using a hyperlink to them. Although i do not want the toolbars, and naviator buttons to be present. I just want the title at the top, and then the window.

I have tried various settings, but i guess i am missing something. Any ideas how this is done? Thank you for your help already.

Matt Pearcey
 
Put this is the header:
<script language=javascript type=&quot;text/javascript&quot;>

<!-- Hide script from old browsers
function newWindow(portgif) {
portWindow = window.open(portgif, 'portWin', 'width=373,height=191,scrollbars=no, right='+rightPos+' ,bottom=0')
portWindow.focus()
}

rightPos=0
if (screen) {
rightPos=screen.width-225
}
//End hiding script fom old browsers -->
</script>

Your links should be like:
<a href=&quot;javaScript:newWindow('mynewpage.htm')&quot;>

There are various parameters for new windows you can specify as yes or no. IE: scrollbar, location,status etc DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top