If you want to create a pop up window when a user clicks the link here is the code! Paste the javascript below into the <head>
tag of your page
<script language="javascript">
function PopUp(ref)
{
var strFeatures="toolbar=no,status=no,menubar=no,location=no"
strFeatures=strFeatures+",scrollbars=yes,resizable=yes,height=320,width=500"
newWin = window.open(ref,"TellObj",strFeatures);
newWin.opener = top;
}
</script>
|
|
|
You can change any of the window features by altering the various paramater. Try altering the height or width, and the various scroll and status bars (yes and no being the choice in most cases here).
Now all you need to do is create the pop up page itself, and link to it.
The link is not the usual <a href="/javascript/page.htm">Link Text</a>, but a call to our pop up function, passing the
page as a parameter:
<a href="javascript:PopUp('/javascript/page.htm')">Link Text</a>
|
|
|
As usual with javascript, don't forget the function name is case sensitive and will not work if you use the wrong case.
|
Useful Links

|
|