vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - spoiler expande with frame (https://vborg.vbsupport.ru/showthread.php?t=178353)

figu120 05-05-2008 10:00 PM

spoiler expande with frame
 
Spoiler expande wiht frame...

Author: Figu120 and Mariom.
Imagen to upload: 1
Time to install: 1 minute max

LIVE DEMO: Parcherock.com
LIVE DEMO: by Figu120
http://www.parcherock.com/showthread...sted=1#post824



Tag with which you can hide a very long ...
In a framework to prevent the site to expand much vertically ...


Ir a AdminCP => C?digos BB => Administrador de C?digos BB => Crear nuevo C?digo BB

Step 2:

Title:
Code:

Spoilers frame
Tag:
Code:

expan
Replacement:
Code:

<table width="90%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#555555">
  <tr><td bordercolor="#FFFFFF"><fieldset class="bbfieldset"><legend class="bblegend">Contenido</legend><div>
        <div class="pre-spoiler">
          <input type="button" value="Ver" style="width:80px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Ocultar'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.value = 'ver';}">
        </div>
        <div>
                <div class="spoiler" style="display: none;"><table width="100%" height="100%" bgcolor="#d3d3d3">
  <tr>
    <td>{param}</td>
  </tr>
</table>
</div>
        </div>
</div></fieldset></td></tr></table>

Example:
Code:

[expan]test[/expan]
Descriptions:
Tag with which you can hide a very long ...
In a framework to prevent the site to expand much vertically ...


Use {option}:
Not
Usar {option}:
No

Button Image:

You Ubication

Click Install


koolfire 05-06-2008 09:21 PM

Thanks!
First to reply

figu120 05-06-2008 09:51 PM

Quote:

Originally Posted by koolfire (Post 1510977)
Thanks!
First to reply

Thank
Click install

dvbusuario 05-12-2008 04:18 AM

very good

Install!

haxcommunity 06-05-2008 10:58 PM

Here's an english version you all can use....

<table width="90%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#555555"> <tr><td bordercolor="#FFFFFF"><fieldset class="bbfieldset"><legend class="bblegend">Hidden Content</legend><div> <div class="pre-spoiler"> <input type="button" value="Show Me The Goods!" style="width:200px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName(' div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Im Done....Put It Back'; } else { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.value = 'Show Me The Goods!';}"> </div> <div> <div class="spoiler" style="display: none;"><table width="100%" height="100%" bgcolor="#d3d3d3"> <tr> <td><font color="black">hide me!</font></td> </tr> </table> </div> </div> </div></fieldset></td></tr></table>

figu120 06-05-2008 11:11 PM

Ok thanks


All times are GMT. The time now is 03:56 PM.

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.01069 seconds
  • Memory Usage 1,730KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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