The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have created some spoiler BBCode using jQuery. A nice simple click paragraph & dropdown.
However, when it's dropping down it messes with the template. It extends the template whilst it drops down, then the template goes back to normal. It's not a big issue but I'd like to contain it so that it doesn't mess with the template. My code (to analyse or leech - I don't mind): HTML Code:
<style type="text/css"> p#spoilercontent{ display:none; } </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript"> $(function() { $('p#spoiler').click(function() { $('p#spoilercontent').toggle(400); }); }); </script> <div align="center"> <strong><p id="spoiler"><u>Spoiler:</u></strong><br /> <p id="spoilercontent">{param}</p> </div> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|