PHP Classes
Icontem

Class: confirm


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Peter Klauer  >  confirm  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: confirm Support forum
Base name: confirm
Description: Generate confirm dialog
Related top rated classes:
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 2151 users
All time rank: 1223
Week users: 3 users
Week rank: 2358
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Peter Klauer
Name: Peter Klauer <e-mail contact>
Published packages: 18 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Home page: http://www.ingoknito.de/
Age: 51
All time rank: 26
Week rank: 79

Groups

Group folder image HTML HTML generation and processing View top rated classes

Detailed description

Generates on MSIE>3 a vbscript confirm dialog before the user may execute a critical link or form. Non IE clients will produce a standard confirm() dialog.
When the normal javascript confirm() dialog is used there is one danger: the default button is "YES" and thumbfingered users may confirm unwanted. A better approach is to generate a vbscript (for them IE users) dialog and call this dialog using javascript. So the programmer can change anything in the appearance of the dialog, even the title and better: the default button may be "No". This class tries to see what browser is given.

Confirm will generate the standard javascript confirm() dialog on non-vbscript-browsers. At the moment only MSIE > 3 is allowed to generate the vbscript dialog in this class, maybe some research reveils other browsers which also support vbscript.

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
test_confirm.php A real life test working without download and install

Files

File Role Description
Plain text file confirm.php Class The class file
Plain text file test_confirm.php Example The demo file for the class "confirm"
Download all files: confirm.tar.gz confirm.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products