Just include this in a script tag...
$(document).ready(function() {
$('ul#controls a').fontSizer();
$('#navigation ul.nav li ul').after('<span class="arrow"></span>');
//Limiting Comments to 150 characters for blog comments
var characters = 150;
$(".TextAreaField").keyup(function(){
if($(this).val().length > characters){
$(this).val($(this).val().substr(0, characters));
alert("Comments cannot be more than 149 characters");
}
var remaining = characters - $(this).val().length;
if(remaining <= 10)
{
//change the color to red to warn user...
$(".TextAreaField").css("color","red");
}
else
{
//change back to original color...
$(".TextAreaField").css("color", "black");
}
});
});