Log in

View Full Version : Collapsible Signatures


zooki
07-02-2012, 11:05 AM
I know it is ugly, but can someone help me please? I am trying to get this to work in VB4, it used to work in vb3. Thank you.:confused:

The code is meant to Collapse and hide signatures, and for them to be revealed with click of a reveal button.


<!-- #################### SIGNATURE ARROW BUTTON #################### -->
<vb:if condition="$post['signature']"><a href="#" onClick="return toggle_collapse('sig_$post[postcount]');" style="text-decoration:none; color:#909090">Show Signature<img src="images/misc/arrow_down.gif" alt="Display Signature" border="0" /></a>
<!-- #################### /SIGNATURE ARROW BUTTON #################### -->



<!-- #################### SIGNATURE CELL #################### -->
<div id="collapseobj_sig_$post[postcount]" style="padding:3px; background:#E9E9E9;font: 10px Verdana, Helvetica, sans-serif;color: #242424; border:1px solid #afafaf;height:100px;overflow:auto;overflow-X:hidden;scrollbar-face-color:#E8E8E8;scrollbar-arrow-color:#666666;scrollbar-track-color:#FFFFFF;scrollbar-shadow-color:#B9B9B9;scrollbar-highlight-color:#FFFFFF;scrollbar-3dlight-color:alt1;scrollbar-darkshadow-Color:#9D9DA1;display:none;">{vb:raw post.signature}</div></vb:if>
<!-- #################### /SIGNATURE CELL #################### -->

vijayninel
07-02-2012, 12:26 PM
Use this instead .. its quite nice https://vborg.vbsupport.ru/showthread.php?t=282136

zooki
07-03-2012, 10:01 AM
I am looking to hide the signatures by default, whilst allowing people to see them if they want to..