PDA

View Full Version : BB Code Enhancements - spoiler expande with frame


figu120
05-05-2008, 10:00 PM
Spoiler expande wiht frame...

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

LIVE DEMO: Parcherock.com (http://www.parcherock.com)
LIVE DEMO: by Figu120
http://www.parcherock.com/showthread.php?p=824&posted=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:
Spoilers frame

Tag:
expan

Replacement:

<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('d iv')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Ocultar'; } else { this.parentNode.parentNode.getElementsByTagName('d iv')[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:

test

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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=178353)

koolfire
05-06-2008, 09:21 PM
Thanks!
First to reply

figu120
05-06-2008, 09:51 PM
Thanks!
First to reply
Thank
Click install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=178353)

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