The Arcive of vBulletin Modifications Site. |
|
Most elegant Spoiler-Tag [BB-Code] Details »»
|
|||||||||||||||||||||||||||
This mod is automatically compatible with vB3.6.x, vB3.7.x, vB3.8.x and vB4.x.x Demo: http://Uniquecrew.net/Spoiler.php Demo-Mirror: http://hrkleZ.bplaced.net/Files/Spoiler.html (as you can see in the source, images are base64 encoded in the Demo-Mirror) Installation Instructions:
![]() I hope you like it! (: This mod is automatically compatible with vB3.6.x, vB3.7.x, vB3.8.x and vB4.x.x Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| 3 благодарности(ей) от: | ||
| iiioroh | ||
| Comments |
|
#2
|
|||
|
|||
|
When viewing on mobile device, it crashes app and when in mobile browser, redirects to homepage.... Anything to fix this?
|
|
#3
|
|||
|
|||
|
Your mobile have to support JavaScript, all iPhones & Android-Devices are compatible with this.
|
|
#4
|
|||
|
|||
|
Hi, a very nice addon, thanks a lot
. There is just one thing that I don't get managed: I would like to have the font inside of the spoiler box that's saying Open/Close Spoiler in the same font style like the one that's displayed before opening the box for the first time. So I would like to add Code:
style="text-decoration: none;"><b style="font-size: 0.8em;" .
|
|
#5
|
|||
|
|||
|
Quote:
It is on an iphone. you can open the spoiler, but to select the pic for a bigger view results in a crash. |
|
#6
|
|||
|
|||
|
@ceho:
Maybe this could help you ![]() HTML Code:
<div style="padding: 0px 5px 0px 5px; border: 1px solid #DF7401; margin-left: 20px; width: 40%"> <div align="center" style="text-transform: none; border-bottom: none; display: block; padding: 3px 0px 3px 0px;"> <span onClick="var spoiler = this.parentNode.parentNode.getElementsByTagName('div')[2]; if (spoiler.style.display != ''){ this.parentNode.parentNode.style.width = '80%' this.parentNode.style.borderBottom = '1px solid #CCCCCC'; spoiler.style.display = ''; this.getElementsByTagName('a')[0].innerHTML = '->Spoiler schlie?en<-'; }else{ this.parentNode.parentNode.style.width = '40%' this.parentNode.style.borderBottom = 'none'; spoiler.style.display = 'none'; this.getElementsByTagName('a')[0].innerHTML = '->Spoiler ?ffnen<-'; }" /> <a rel="nofollow" href="#" onClick="return false;" style="text-decoration: none;"><b style="font-size: 0.8em;">->Spoiler ?ffnen<-</b></a> </span> </div> <div class="quotecontent"> <div align="center" style="display: none; padding: 5px 0px 5px 0px;"><br> <b style="font-size: 0.8em;">{param}</b></div> </div> </div><br /> |
|
#7
|
|||
|
|||
|
Hi Grazu, thanks very much. That's part of it
. Actually I want to change the font inside of this bit:Code:
<span onClick="var spoiler = this.parentNode.parentNode.getElementsByTagName('div')[2];
if (spoiler.style.display != ''){
this.parentNode.parentNode.style.width = '98%'
this.parentNode.style.borderBottom = '1px dotted #000000';
spoiler.style.display = '';
this.getElementsByTagName('a')[0].innerHTML = '>> Close Download Links <<';
}else{
this.parentNode.parentNode.style.width = '98%'
this.parentNode.style.borderBottom = 'none';
spoiler.style.display = 'none';
this.getElementsByTagName('a')[0].innerHTML = '>> Open Download Links <<';
}" />
And would you have an idea if it's possible to always have the spoiler at the bottom of each post, automatically? Thanks and keep up the great work mate. |
|
#8
|
|||
|
|||
|
Has anyone else tried this on a mobile? On two of my forums it redirects to homepage (my site.com/#)
|
|
#9
|
||||
|
||||
|
any way to make the spoiler keep hidden text from showing on widgets and blocks?
|
|
#10
|
|||
|
|||
|
Thank you.
Also, before opening it when first visiting said thread, it says "->Spoiler öffnen<-." However, once you open it, it changes to Close / Open Spoiler. What's offnen? Is there a way to get it to say Open Spoiler when you first go to said thread? Edit: Never mind, trying another one. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|