PHP Code:
<script language="javascript">
function showDiv(objDiv)
{
Obj=eval((navigator.appName=="Netscape")?"document.layers['"+objDiv+"']":"document.all['"+objDiv+"'].style");
Obj.visibility="visible";
}
function hideDiv(objDiv)
{
Obj=eval((navigator.appName=="Netscape")?"document.layers['"+objDiv+"']":"document.all['"+objDiv+"'].style");
Obj.visibility="hidden";
}
</script>
<form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post" onSubmit="return validate(this)">
<INPUT type="button" size="1" value="QuickQuote" name=button1 onClick="javascript:showDiv('<?php echo $post[postid]; ?>')">
<INPUT type="button" value="Hide" name=button2 onClick="javascript:hideDiv('<?php echo $post[postid]; ?>')">
<div id="<?php echo $post[postid]; ?>" style="visibility:hidden;position:absolute">
And if that works can you please add me to the credits in the install.txt or what ever, thanks.