vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   BB Code Enhancements - Spoiler BB Code (https://vborg.vbsupport.ru/showthread.php?t=187329)

finalcuthalo 08-05-2008 10:00 PM

Spoiler BB Code
 
Spoiler BB Code

A simple spoiler BB Code with a show/hide button.

Usage:
Code:

[spoiler]the cake is a lie[/spoiler]
Tag Name: Spoiler
Replacement:
HTML Code:

<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px"><b>Spoiler</b> <input type="button" value="Show" style="width:45px;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 = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }">
</div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div style="display: none;">
{param}
</div>
</div>
</div>


Q-v-n-s-Q 08-06-2008 05:48 AM

- reserved -

VanDaMe 08-06-2008 08:58 AM

waiting for the files :D

Internetcafe 08-06-2008 10:32 AM

Quote:

Originally Posted by VanDaMe (Post 1592487)
waiting for the files :D

Could be a long wait ;)

iNRoC 08-06-2008 12:58 PM

Kool

Digital Jedi 08-06-2008 01:39 PM

Quote:

Originally Posted by Internetcafe (Post 1592516)
Could be a long wait ;)

Really long wait. :D

mark370 08-06-2008 04:38 PM

Quote:

Originally Posted by VanDaMe (Post 1592487)
waiting for the files :D

Lol There Is No Files M8 Just Add To Your Custom BB Codes In ACP :D

agitated 08-06-2008 06:01 PM

:confused: and the difference is ?
https://vborg.vbsupport.ru/showthread.php?t=184855

dartho 08-06-2008 10:12 PM

Quote:

Originally Posted by agitated (Post 1592842)
:confused: and the difference is ?
https://vborg.vbsupport.ru/showthread.php?t=184855

They're heaps different - that one underlines the word Spoiler, this one bolds it ... :rolleyes:

Karri 08-07-2008 04:37 PM

so in other words, yet another person that didn't actually create the code they are claiming credit for. :rolleyes:


All times are GMT. The time now is 01:40 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.01224 seconds
  • Memory Usage 1,737KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete