Hello,
I am using the Frontpage 2002 Link Bars, and I can't seem to figure out to get them to open popup a new browser window, with my specifications (scrollbars=no, status=no)
Basically based on the javascript below, I would like to somehow execute this from one of these links.
Put this in the header of the pages:
<script language=javascript type="text/javascript">
<!-- Hide script from old browsers
function newWindow(portgif) {
portWindow = window.open(portgif, 'portWin', 'width=373,height=191,scrollbars=no, status=no, location=no, right='+rightPos+' ,bottom=0')
portWindow.focus()
}
rightPos=0
if (screen) {
rightPos=screen.width-225
}
//End hiding script fom old browsers -->
</script>
Then your links look like this:
<a href="javaScript:newWindow('newPage.htm')">
Thanks for your help
Barry
I am using the Frontpage 2002 Link Bars, and I can't seem to figure out to get them to open popup a new browser window, with my specifications (scrollbars=no, status=no)
Basically based on the javascript below, I would like to somehow execute this from one of these links.
Put this in the header of the pages:
<script language=javascript type="text/javascript">
<!-- Hide script from old browsers
function newWindow(portgif) {
portWindow = window.open(portgif, 'portWin', 'width=373,height=191,scrollbars=no, status=no, location=no, right='+rightPos+' ,bottom=0')
portWindow.focus()
}
rightPos=0
if (screen) {
rightPos=screen.width-225
}
//End hiding script fom old browsers -->
</script>
Then your links look like this:
<a href="javaScript:newWindow('newPage.htm')">
Thanks for your help
Barry