Re: User confirmation questions?

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

 



At 9:38 PM +0530 5/5/06, Rabin Vincent wrote:
On 5/5/06, tedd <tedd@xxxxxxxxxxxx> wrote:
At 8:58 AM +0300 5/5/06, William Stokes wrote:
Hello,

In PHP is it possible to generate "windows style" question boxes and get the
users choice back? Or do I need javascript or something else for that?

For example if a user hits a button in form I could ask for his confirmation
for the action. Like "Do you Really wan't to drop the whole database?" Yes
or No. And perform or cancel the action by user's decision.

-Will

-Will:

It depends. Typically no, but what you want can be done via a single
click by switching style sheets through php (it need cookies though).
See --

http://www.sperling.com/examples/styleswitch/

-- for an example and explanation.

Could you elaborate as to how switching stylesheets can
provide a confirmation dialog box?

Rabin


Perhaps I didn't fully understand the question. A confirmation dialog box, no -- but, a confirmation, yes.

If he wants a dialog box, then a simple js alert will do.

tedd
--
--------------------------------------------------------------------------------
http://sperling.com

--
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