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:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 12:12 PM
To: [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to