vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Style and Graphics Requests (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=226)
-   -   Collapsible Signatures (https://vborg.vbsupport.ru/showthread.php?t=285126)

zooki 07-02-2012 11:05 AM

Collapsible Signatures
 
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.

PHP Code:

<!-- #################### 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..


All times are GMT. The time now is 02:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01015 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete