Escolar Documentos
Profissional Documentos
Cultura Documentos
Hi friends if you see the text area in face book for replying message it going to be nice
and good one.
It is going to be expand for particular distance after that only it going to make the scroll
bar.You can also make this by using Jquery.
<body>
<textarea style="line-height:10px min-height:30px" id='comment'></textarea>
</body>
</html>
The Jquery Plugin for this is
// JavaScript Document
/*
* jQuery autoResize (textarea auto-resizer)
* @copyright James Padolsey http://james.padolsey.com
* @version 1.04
*/
//Source:http://james.padolsey.com/javascript/jquery-plugin-autoresize/
(function($){
$.fn.autoResize = function(options) {
})(),
lastScrollTop = null,
updateSize = function() {
// Chain:
return this;
};
})(jQuery);