Current time: 28 Mar 2024, 05:24 AM



Alternate Spoiler BBCode
Offline Supa

Banned
Banned
*
13 Years of Service
Posts: 731
Threads: 59
Likes Received: 4 in 3 posts
Likes Given: 0
Joined: Mar 2011
Reputation: -22
Location: Up on a rooftop
Discord: supersniper#9546
Emerald DonatorCrystal DonatorSapphire DonatorAdvanced DonatorThe BombGhost
GreenScoutHalo GodEntertainerProgrammerLegendary
GamerTwitterCoolSmoothSweetThanks From Cloud
Entertainer
#1
Alternate Spoiler BBCode

BBCode Usage
{TEXT}

HTML Replacement
<div style="margin:20px; margin-top:5px"><div class="quotetitle"><b>Spoiler:</b> <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('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }" /></div><div class="quotecontent"><div style="display: none;">{TEXT}</div></div></div>

Help Line
To wrap spoiler tags around text :
text


To see how it works look at spoiler 1 in this site <!-- m --><a class="postlink" href="http://h2pc.org/forums/viewtopic.php?f=30&t=329">http://h2pc.org/forums/viewtopic.php?f=30&t=329</a><!-- m -->
17 Jun 2013, 08:31 PM
Find Reply
Offline Alloy

Registered User
Registered
12 Years of Service
Posts: 4,954
Threads: 232
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Sep 2011
Reputation: 22
5K
#2
Re: Alternate Spoiler BBCode

We should have this kind of spoiler :D. It has a rollover.
17 Jun 2013, 08:54 PM
Find Reply
Offline Supa

Banned
Banned
*
13 Years of Service
Posts: 731
Threads: 59
Likes Received: 4 in 3 posts
Likes Given: 0
Joined: Mar 2011
Reputation: -22
Location: Up on a rooftop
Discord: supersniper#9546
Emerald DonatorCrystal DonatorSapphire DonatorAdvanced DonatorThe BombGhost
GreenScoutHalo GodEntertainerProgrammerLegendary
GamerTwitterCoolSmoothSweetThanks From Cloud
Entertainer
#3
Re: Alternate Spoiler BBCode

SmG Lich King Wrote:But is it practical?
It has nothing to do with how it functions it functions as the same as the one you currently have. It just looks nicer.
18 Jun 2013, 11:21 AM
Find Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
SmG Gaming, © 2010-2024
Theme By: «SmG» Cloud
Edited by: «SmG» Wires