Re: Controlling browser windows with php?
| From: | Davy Obdam | Date: | Mon, 10 Feb 2003 07:03:35 +0000 |
| Subject: | Re: Controlling browser windows with php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135015@lists.php.net to get a copy of this message | ||
Hi Geoff,
You cant do this with php... you will have to use JavaScript for opening a new window. You could write the function in the html of your page.. or use echo "<script type=\"text/javascript\" language=\"javascript\"><!-- your code //--></script> and call this function in your links, in your php script.
Best regards,
Davy Obdam
Geoff Lists wrote:
Hi, I'm relatively new to php and neither of the books I am using for reference mention anything about controlling a child window. What is the correct syntax to: open window( width, height, menu, scrollbars) and position it on the screen? Any help would be gratefully and humbly accepted I need to know how to do this now! OR How to call an existing javascript to do it for me. Thank you. Heff. -- Geoff Hill Information Technology Training & Solutions A.B.N. 28 712 665 728 P.O. Box 7156 Lismore Heights, NSW, 2480. Ph: 02 6688 6381-- -------------------------------------------------------------------- Davy Obdam - Obdam webdesign© mailto:info@davyobdam.com web: www.davyobdam.com --------------------------------------------------------------------