PDA

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


figu120
01-27-2009, 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)

whitetigergrowl
01-29-2009, 12:28 AM
I have no idea what this hack does or what you just said. >_<

TheLastSuperman
01-29-2009, 12:36 AM
I believe via the 2nd demo link it's simply a spoiler bb code w/ the option to expand the content within a frame w/ scroller... I would love to see how they did the rocketdock similar menu up top (the one that scrolls the icons and enlarges them!) though much more ;)

Forum Lover
01-29-2009, 01:34 AM
<legend class="bblegend">Contenido</legend>
It will be more nice if we can change the table title.. I mean user can put their own table title. :)

FiMeTi
01-29-2009, 06:40 PM
I believe via the 2nd demo link it's simply a spoiler bb code w/ the option to expand the content within a frame w/ scroller... I would love to see how they did the rocketdock similar menu up top (the one that scrolls the icons and enlarges them!) though much more ;)

Jo Superman!
http://www.ndesign-studio.com/blog/design/css-dock-menu/

Whers my dope!? ;p

:D

figu120
01-29-2009, 08:32 PM
I believe via the 2nd demo link it's simply a spoiler bb code w/ the option to expand the content within a frame w/ scroller... I would love to see how they did the rocketdock similar menu up top (the one that scrolls the icons and enlarges them!) though much more ;)

Good explanation thank you very much for the help ....

because my English is very short, I get very hard to explain in their words ...

<legend class="bblegend">Contenido</legend>
It will be more nice if we can change the table title.. I mean user can put their own table title. :)

it's not currently possible to change only the title of the button ..
but pensare rioja rioja get to see so in the next version ...

figu120
01-29-2009, 08:42 PM
I would love to see how they did the rocketdock similar menu up top (the one that scrolls the icons and enlarges them!) though much more ;)

vbdock
https://vborg.vbsupport.ru/showthread.php?t=203535

adhmwagde
01-30-2009, 12:09 PM
gracias :)

figu120
01-30-2009, 01:18 PM
Con mucho gusto....