File: customized.html

Recommend this page to a friend!
  Classes of Arturs Sosins   Texpand   customized.html   Download  
File: customized.html
Role: Example script
Content type: text/plain
Description: Example with customized textarea
Class: Texpand
Expand textarea inputs as the user types the text
Author: By
Last change:
Date: 12 years ago
Size: 1,040 bytes


Class file image Download
<!-- /************************************************************* * This script is developed by Arturs Sosins aka ar2rsawseen, * Feel free to distribute and modify code, but keep reference to its creator * * Texpand class provides a way to expand textareas to fit it's contents. * It is possible to provide minimal or maximal values to restrict possible * textarea dimensions * * For more information, examples and online documentation visit: * **************************************************************/ --> <!DOCTYPE html> <html> <head> <style> #expand { font-size: 20px; padding: 50px; font-family: Tahoma; } </style> </head> <body> <p>This textarea will expand, when you'll write something in it</p> <textarea id='expand'></textarea> <script type="text/javascript" src="./texpand.packed.js" ></script> <script type="text/javascript"> var te = new texpand("expand"); </script> </body> </html>