VisualTextbox
Version 1.1b


VisualTextbox controls can be easily integrated in a PHP page this way:

1. Include control generation PHP source file :

<? include "visualtextbox/VisualTextbox.php" ?>

2. Generate HTML and Javascript control code:

<?= createVisualTextbox( $path, $name, $content, $class, $lang ) ?>

where arguments are used as decribed below:

$path Path (relative or absolute) to the VisualTextbox directory.
$name The name that will be given to the control. It will be used to get user data thanks to the $_POST, $_GET or $_REQUEST arrays.
$content Initial HTML content of the editor.
$class CSS class name that will be used for the editor.
$lang Language to use. Either english ("en"), french ("fr"), spanish ("es"), german ("de") or polish ("pl").

Notice about the <FORM> element:

One of the goal of this control is that it can be used like any other HTML form element, particularly <TEXTAREA>, so it is important to include the call to the "createVisualTextbox()" function between the <FORM> and </FORM> tags.

Description - Demo - Download - Forum - Feedback

© 2003 Nicolas Robert-Dehault - http://visualtextbox.free.fr