RE: [PHP] pop-up window in php???
| From: | Paul Novitski | Date: | Tue, 30 May 2006 00:38:32 +0000 |
| Subject: | RE: [PHP] pop-up window in php??? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237052@lists.php.net to get a copy of this message | ||
At 05:04 PM 5/29/2006, tedd wrote:
This really isn't any different than a page calling itself, or another page, where the result looks like a pop-up dialog box.That's right. Add the dialog form to the markup and position it absolutely to appear centered a bit down from the top of the window. To imitate a modal dialog, disable all other links and form controls by tweaking the markup in PHP before download. (I can't recall how cross-browser successful it is to cover up the page with a large transparent image to disable all UI, but that might be worth exploring.)
I think the only real difference here is that in a "true" pop-up dialog box, the pop-up window appears above the previous window and goes away after the dialog leaving the previous window. However, that may be accomplished if php can generate two browser windows -- I don't know if it can, but I suspect it might.I'm not aware that PHP can ask a browser to open a second window without using JavaScript. What I'm suggesting would LOOK like a second window appearing on top of the primary window, then going away, when it would actually be a single page cleverly styled. Regards, Paul