PDA

View Full Version : I need a couple spoiler bbcodes made!


Dark Lycan
01-28-2012, 09:17 AM
So here's what I want done, I want a spoiler that me my staff and members can hide content in and I also need a spoiler that can hide content and the when opened can re-hide content here's an example.

content here

If someone could do this for me I would greatly appreciate it.

Thank you!

oh and here's the link to my site just incase.

http://www.kh-mediaflare.net/forum.php

kh99
01-28-2012, 06:30 PM
Did you search the mods for "spolier"? If I understand correctly, for the first one you want to be able to put stuff in a post that only staff can see? I don't know if that exists, but if it does it's probably not called "spoiler". But if you just want a spoiler bbcode for users, you'll find quite a few exitsing.

Dark Lycan
01-30-2012, 03:31 AM
Did you search the mods for "spolier"? If I understand correctly, for the first one you want to be able to put stuff in a post that only staff can see? I don't know if that exists, but if it does it's probably not called "spoiler". But if you just want a spoiler bbcode for users, you'll find quite a few exitsing.



Yes I want a spoiler for all users to use, and yes I've tried all the spoiler mods I could find in the mods and none of em were what I wanted and most of em aren't even in English atleast not 2 of the spoilers I tried, believe me if you guys had the spoiler I am looking for then I would not be requesting one right now.=/

nerbert
01-30-2012, 04:05 AM
I've had this one for years.

<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px"><b>Spoiler</b> for <i>{option}</i>: <input type="button" value="Show" style="width:45px;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 = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }">
</div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div style="display: none;">
{param}
</div>
</div>
</div>

Dark Lycan
01-30-2012, 12:43 PM
I've had this one for years.

<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px"><b>Spoiler</b> for <i>{option}</i>: <input type="button" value="Show" style="width:45px;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 = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }">
</div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div style="display: none;">
{param}
</div>
</div>
</div>

huh, ty nerbert, but could you also add all the other additional info that I need to install it too, PLZ?:D

nerbert
01-30-2012, 10:06 PM
Title:Spoiler, tag name:spoiler. I don't have a button for it. Use {option} yes. Set the other settings however you want. This isn't going to blow anything up if you make a mistake or anything. Just play around with it until you get it the way you like.

Dark Lycan
01-31-2012, 04:14 AM
Title:Spoiler, tag name:spoiler. I don't have a button for it. Use {option} yes. Set the other settings however you want. This isn't going to blow anything up if you make a mistake or anything. Just play around with it until you get it the way you like.

okay cool ty nerbert!^ ^