RE: pop-up window in php???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux