← Back Home

Text Area Auto Xpander v1.0

Text Area Auto Xpander 1.0 has couple of new features which were promised in the last post :

Features Added:

Options

Example:

Xpander with specific textarea ids

<script type="text/javascript" src="Xpander1.0.js">
</script>
<script type="text/javascript">
  window.onload = function(){
	  Xpander({
ids: ['textarea1','textarea2'],
		  animation: true,
		  xtraSpace: 15,
		  delay: 10,
		  callBack: function(){
			  /* Your callback function here */
		  }
	  });
  }
</script>

Xpander for all textarea (no ids mentioned)

<script type="text/javascript" src="Xpander1.0.js">
</script>
<script type="text/javascript">
    window.onload = function(){
        Xpander({
            animation: true,
            xtraSpace: 15,
            delay: 10,
            callBack: function(){
                /* Your callback function here */
            }
        });
    }
</script>

Xpander 1.0

If you find any bug, or have something which will improve this plug in just let me know in the comment section.