|
Set a default value for the textfield and its wrapper. The default value can be either text, css class or both !
$('#testId2_3').tInput({
resize : { minHeight:50, maxHeight:100 },
empty : {
text : 'This input is lonely',
inputClass : 'tInput_Empty',
parentClass : 'tInput_Empty_Wrapper'
}
});
|
|
Easily assiign any number of styles to the textarea and its wrapper.
$('#testId2').tInput({
resize : { minHeight: 100, maxHeight: 250 },
setStyle : 'setStyle_text1, setStyle_wrapper1',
title : 'Custom style and custom wrapper style !',
empty : { text: 'Type something' }
});
|
|
And as easily assign custom onfocus effects to it
$('#testId2_2').tInput({
resize : { minHeight: 100, maxHeight: 250 },
focusEffect : 'setStyle_text1',
title : 'Custom Focus Effect !',
empty : { text: 'Or something else' }
});
|
|
Oh look ! Rounded Corners ! Croos-browsered rounded corners !
Check out the Image Border page for more of these and bout these !
$('#testId2_4').tInput({
resize : { minHeight: 50, maxHeight: 250 },
title : 'Custom Focus Effect !',
empty : { text: 'Or something else' },
setStyle : false,
focusEffect : false,
imageBorder : {
path : 'images/borders/c5c5c5/',
extension : '.png',
baseColor : '#ffffff'
}
});
|