Is there a way to automatically size a popup window based on the the size of the table? I am querying the table dimesions using PHP and MySQL and I would like to insert the two variables $alt_height and $alt_width into the javascript code below by putting those two variables in place the pixel height and width dimensions. Is this possible?
<script language= JavaScript><!--
function pop1(URL) {
window.open(URL,'','height=500,width=730,scrollbars=no,top=05,left=10');
} //-->;
</script>
If anybody can help I would really appreciate it.
<script language= JavaScript><!--
function pop1(URL) {
window.open(URL,'','height=500,width=730,scrollbars=no,top=05,left=10');
} //-->;
</script>
If anybody can help I would really appreciate it.