Put this between the <head></head> tags:
<script language="javascript">
<!-- hide from old browsers
var strHelpOptions ="location=yes or no";
strHelpOptions += ",toolbar=yes or no";
strHelpOptions += ",menubar=yes or no";
strHelpOptions += ",status=yes or no";
strHelpOptions += ",scrollbars=yes or no or auto";
strHelpOptions += ",resizable=yes or no";
strHelpOptions += ",top=number in pixels";
strHelpOptions += ",left=number in pixels";
strHelpOptions += ",width=number in pixels";
strHelpOptions += ",height=number in pixels";
function openWin(windowURL, windowname){
mywindow=window.open(windowURL, windowname, strHelpOptions)
}
// end hiding -->
</script>
Use the following as the link you want to generate the popup window :
<a href="javascript:openWin('popup_window_URL','a_name_for_popup_window')">
your_text or your_image
</a>
|