At 6:38 PM -0500 5/29/06, Jay Blanchard wrote:
[snip]
However, PHP can download a page with input fields disabled that
includes a div styled to look like a dialog box with a couple of
submit buttons labeled YES & NO. Submitting YES will request the
same page from PHP but without the dialog div and with user interface
fields enabled; NO will request the same page but without the dialog
div and with UI fields disabled.
From the user's point of view, the main difference between doing
this with PHP and doing it with JavaScript is that the PHP solution
will take at least a few seconds for the round-trip to the server
whereas JavaScript's response to a confirm() dialog will seem
instantaneous.
[/snip]
Interesting concept Paul, so you are saying that PHP can be used to
generate something that looks like an alert box using CSS? Or are you
saying that PHP would use an intermediary page to generate the behavior?
This really isn't any different than a page calling itself, or
another page, where the result looks like a pop-up dialog box.
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.
tedd
--
------------------------------------------------------------------------------------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php