Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (48 sloc) 2.29 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<title>jQuery Grab Bag - Auto-Growing Textarea Plugin</title>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="" />
<link rel="alternate" type="text/xml" title="RSS .92" href="" />
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="" />
<script type='text/javascript' src='javascripts/jquery-1.2.6.min.js'></script>
<script type='text/javascript' src='javascripts/jquery.autogrow-textarea.js'></script>
<link rel="stylesheet" href="stylesheets/main.css" type="text/css" />
<div id='container'>
grab bag <span class='subtitle'>- assorted jQuery plugins</span>
<div id='sidebar'>
<ul id='project-nav'>
<li><a href='index.html'>Plugin List</a></li>
<ul id='ohoa-nav'>
<li><a href='' id='subscribe'>Subscribe for updates &raquo;</a></li>
<li><a href=''>Back to projects &raquo;</a></li>
<li><a href=''>Back to &raquo;</a></li>
<div id='main'>
<h2>Auto-Growing Textarea</h2>
A textarea which grows vertically as it becomes full. This implementation -
inspired by Facebook - relies on a hidden auxiliary <code>div</code>, preventing
flickering scrollbars.
<div class='caption'>Example:</div>
<textarea rows='6' style='line-height:1; font-size: 120%; width: 100%'></textarea>
<script type='text/javascript'>
$(function() {
<h3>Direct Link</h3>
<p><a href=''>jquery.autogrow-textarea.js</a></p>