The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
EDIT: just re-read your post... I'll have a crack at it... |
#12
|
||||
|
||||
I think that maybe you have to have two tags? one with option on, and one with it off?
It's wierd that it won't behave just like other tags in that way? |
#13
|
||||
|
||||
is a shame, i'm wondering if they hardcoded it also? maybe might be the way to fix it, i'll look at the include bbcode file see what i come up with
|
#14
|
||||
|
||||
This is kinda neat - I'll give it a trial run see how the users react.
|
#16
|
|||
|
|||
This is the one i use :
Spoiler [spoiler]Your message in a message text here[/spoiler] <center><table width="80%"><TR><TD bgcolor="#FFFFFF"><font color="black" size="1">Spoiler: (select this text to read it)</font><br><font color="#FFFFFF" size="2"><blockquote>Your message in a message text here</blockquote></font></td></TR></TABLE></center> Spoiler: (select this text to read it) Your message in a message text here N/A [Edit] [Delete] |
#17
|
||||
|
||||
I've played with the code a bit. I think this looks nicer than having an empty box. Plus it has less divs.
Code:
<div> <input type="button" value="Show Spoiler" style="width:80px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = ''; this.parentNode.parentNode.getElementsByTagName('div')[2].style.display = 'none'; this.innerText = ''; this.value = 'Hide Spoiler'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('div')[2].style.display = ''; this.innerText = ''; this.value = 'Show Spoiler'; }" /> <div id="spoiler" style="display: none;margin: 0px; padding: 6px; border: 1px inset;width:560px"> {param} </div> <div style="display:block; font-style:italic;font-size:x-small;"> Click the "Show Spoiler" Button to reveal hidden text. </div> </div> |
#18
|
||||
|
||||
Quote:
|
#19
|
|||
|
|||
Thanks for the animesuki used spoiler code, Natch !!
It's the best one I've ever seen; and I've implemented it onto the 3DGamers.com forums just now. :up: |
#20
|
|||
|
|||
thanks for sharing the code Natch... best spoiler code i have seen yet
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|