![]() |
Collapsing Divs
1 Attachment(s)
This mod is like a show/hide spoiler bbcode, but more features, has the ability to show/hide anything you want, with nice fade effects
Step 1. Upload the .js files from the archive to your forum clientscript folder Step 2. Edit Your Style This can go into the Main CSS of the style, or inside headerinclude template Code:
<style> Code:
<script type="text/javascript" src="forum-url/clientscript/bbcode.js"></script> create a new bbcode, and open BBCODE.txt, copy the code inside and paste it inside in the replacement box Code:
<div onclick="showOfftopic(this, 'Off-Topic Comment')" class="OffTopicC"> copy the code below and paste it inside the replacement box Code:
<div onclick="showOfftopic(this, '{option}')" class="OffTopicC"> |
Note: This Mod works with vBulletin versions 3.6 to 4.0
|
nice mod thanks
|
nice yhank you ......installed
|
This is good! Thanks.
|
I have installed and voted - it is a great thing!
One question, if I have recursive structure like [OFF] ..................Main Level ..................[OFF] ................................Sub Level 1 ..................[/OFF] ..................[OFF] ................................Sub Level 2 ..................[/OFF] [/OFF] When I expand Main - it works as expected, but when I try to open Sub Level 1 or Sub Level 2, it actually collapses entire structure as if I click on Main Level's header. Would be nice to support recursion in your BB code. Thanks! |
All times are GMT. The time now is 02:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|