When Sachin Tendulkar travelled to Pakistan to face one of the finest bowling attacks ever assembled in cricket,
Michael Schumacher was yet to race a F1 car,
Lance Armstrong had never been to the Tour de France,
Diego Maradona was still the captain of a world champion Argentina team,
Pete Sampras had never won a Grand Slam.
When Tendulkar embarked on a glorious career taming Imran and company,
Roger Federer was a name unheard of;
Lionel Messi was in his nappies,
Usain Bolt was an unknown kid in the Jamaican backwaters.
The Berlin Wall was still intact,
USSR was one big, big country,
Dr Manmohan Singh was yet to "open" the Nehruvian economy.
It seems while Father Time was having his toll on every individual on the face of this planet,
he excused one man.
Time stands frozen in front of our Sachin.
We have had champions, we have had legends, but we have never had a Sachin Tendulkar and we never will.
This post has been updated from its original form on 24th Nov, 2009 - originally posted on 23rd Nov, 2009.
This is an update to the Text Area Auto Xpander with couple of improvements compared to the previous Text Area Auto Xpander 0.9
Text Area Auto Xpander 1.0 has couple of new features which were promised in the last post :
Features Added:
- The ability to give the Xpander functionality to the selected textareas.
- on load expansion of the textareas if the text is more than the textarea.
Options
- animation - true or false will have the text area 'expand with ease' or 'expand directly'.
- xtraSpace - The extra space or height in pixels by which the textarea should expand.
- delay - The delay in milliseconds in ease for the expansion of the textarea.
- callBack - The callback function which executes eveytime the text area expands.
- ids - List of textarea ids to which Xpander has to be applied.
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.
Continue Reading...
This post has been updated from its original form on 28th Sep, 2009 - originally posted on 28th Sep, 2009.