I think that looking at the basic script for the popup will help you more to understand. For creating the popup you'll need the following script :
Code:
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
newwindow=window.open(url,'name','height=250,width=125');
if (window.focus) {newwindow.focus()}
return false;
}
// -->
</script>
After writing the above script, you will have to link it by following code :
Code:
<a href="popwin.html" onclick="return popitup('popwin.html')"
>Link to popup</a>
Bookmarks