window.open and php...
| From: | Sandeep Murphy | Date: | Thu, 02 May 2002 15:21:29 +0000 |
| Subject: | window.open and php... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13485@lists.php.net to get a copy of this message | ||
hi,
I hv a problem related to the window popup and my php script..
I need to send values for the widht and height dynamically thru my php like
the fwg:
function ope(page,wid,hgt){
//open (page, "page",
"height="+hgt,"width="+wid,"channelmode=0,dependent=0,directories=0,fullscre
en=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0",
"myWindow")
open (page, "page",
"height=30,width=50,channelmode=0,dependent=0,directories=0,fullscreen=0,loc
ation=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0", "myWindow")
}
</script>
The window does pop ups but ignores the widht and height sent.. whereas if i
hardcode the values for the pop up is works...
Isnt is possible to send values for the window parameters dynamically?? if
so what am i doing wrong??
TIa,
sands