QUOTE(nutters @ Aug 8 2005, 04:10 PM)
I wanted to make this pop up in its own seperat window
[right][snapback]141610[/snapback][/right]
To do what you want you really need some javascript. If you haven't done any coding before then you'll have some fun with this!
First you need a function to open a new window that's called when you click on the link. Next you'll need another function that runs when the new window loads that resizes and centres it.
You'll need to do this in code view...
Put this in the document with the link in. It must go just before the </head> tag:
CODE
<script language="javascript" type="text/javascript">
function openNewWin(gotoURL)
{
window.open(gotoURL,"", "left=200,top=200,width=10,height=10,resizable=yes,scrollbars=yes,status=yes");
self.focus();
}
</script>
Set up the link you want to open the new window like this and replace page.htm with the page you want to open.
CODE
<a href="javascript:openNewWin('page.htm')">Your Link Text or Image Here</a>
Finally, in the code for the page that is to be opened in the new window, put this code into the bit above the </head> tag:
CODE
<script language="javascript" type="text/javascript">
var width = parseInt(550);
var height = parseInt(375);
var trueWidth = width + 12;
var trueHeight = height + 29;
var left = (parseInt(screen.width) - trueWidth) / 2;
var top = (parseInt(screen.height) - trueHeight) / 2;
window.moveTo(left, top);
window.resizeTo(width + 12, height + 29);
window.focus();
</script>
If all goes well, clicking on the link should make the window open on the top left of the screen. It will then move itself to the centre and resize itself to the dimensions chosen (the 550 and the 375 values - you can choose your own).
There is more info
HereI don't use Frontpage so perhaps someone who does can talk you through it in greater detail but this code should do exactly what you want.