Quote:
Originally Posted by voteforbird
Neat product. Suggestion: Have an option to make the stencil text gray and then clear onclick. This would work much better for my (and others'?) purposes.
|
Edit headinclude - at very end
Code:
<script language="Javascript">
<!--
function doClear(theText)
{
if (theText.value == theText.defaultValue)
{
theText.value = ""
}
}
//-->
</script>
Open newthread template find
Code:
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" /></td>
And change to (if using this hack)
Code:
<td><input type="text" class="bginput" name="subject" value="$vboptions[stenciltitle]" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" onFocus="doClear(this)"/></td>
demo
http://top-vb.com