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