Quote:
Originally Posted by Boofo
Can you share the changes you made? 
|
Yes, I hope this won't offend the hack creator... but here are snippets of my newthread template:
Code:
function showFind(element) {
if(element.value != '') {
document.getElementById('findicon').src = "$stylevar[imgdir_button]/findicon_on.gif";
document.getElementById('findicon').style.cursor = "pointer";
} else {
document.getElementById('findicon').src = "$stylevar[imgdir_button]/findicon_off.gif";
document.getElementById('findicon').style.cursor = "default";
}
}
Code:
<!-- subject field -->
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="subject" id="subject" onChange="showFind(this);" onKeyUp="showFind(this);" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
<td> </td>
<td><img id="findicon" name="findicon" src="$stylevar[imgdir_button]/findicon_off.gif" alt="Search for existing topics" onclick="openWindow()" /></td>
<td> </td>
<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td> </tr>
</table>
<!-- / subject field -->
Obviously I'm trusting that you can take the applicable small bits and merge them as appropriate into whatever you have.