RE: [PHP] closing a browser-window with php

From: Date: Thu, 27 Jun 2002 02:20:30 +0000
Subject: RE: [PHP] closing a browser-window with php
Groups: php.general 
Request: Send a blank email to php-general+get-104091@lists.php.net to get a copy of this message
use javascript... php can't interact w/ the browser unless you go through js or vbs so you'd do something like this: -- MM Page -- Start -- <!-- content here --> <!-- MM Object that opens window (New Win) --> -- MM Page -- End -- -- New Win -- Start -- <script> win = window.open("real_url", "real_win", "width=xx,height=xx"); win.moveTo(x, y); window.close(); // closes this window, not the real one... </script> -- New Win -- End -- -- Real Win -- Start -- <!-- Actual content in here --> -- Real Win -- End -- -----Original Message----- From: nik crosina [mailto:nik@multimediaworkshop.co.uk] Sent: Thursday, June 27, 2002 12:12 PM To: php-general@lists.php.net Subject: [PHP] closing a browser-window with php hi news group my first post, so please be gentle ;-) my problem is that i have to open a browser page of specific size and coordinates from a macromedia director movie. but: the only call i can send from there is for a browser window without any attributes (so i can't control size or location). can i use php to call a webpage that calls a php script and immediately (without user interaction such as confirming a dialoguebox) opens the 'actual' browser window at the correct location and the right size? thanks in advanced for your help!!!!!! nik crosina -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#104091) next »