ThisisLegal.com

ThisisLegal Forums

Welcome to the forums! A chance for site members to chat and get help.

You are not logged in.

#1 2008-04-19 07:35:36

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Hidden bbcode

Hi everyone, this isn't that much of a problem, so it doesnt matter that much if this gets solved. But we currently have the problem of the [spoiler ] option only allowing 1 spoiler per page. If anyone can think of any better code than the code were using now to allow any amount of spoilers this would be helpful. Thanks smile<br /><br />


Site admin

Offline

#2 2008-04-30 07:05:43

Gringo Master
Member
Registered: 2007-09-17
Posts: 43

Re: Hidden bbcode

What's the code you guys are using right now?

Offline

#3 2008-04-30 07:12:28

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: Hidden bbcode

This:

http://h4ckpaste.org/?id=8kJQMnbwvY56VonJW2Qu1Ua_vTA


Site admin

Offline

#4 2008-05-01 16:29:11

Gringo Master
Member
Registered: 2007-09-17
Posts: 43

Re: Hidden bbcode

<div id="hideshow">
text here </div>

<script>hideDiv();</script>
</div>

Why do you have a second

</div>

?

Offline

#5 2008-05-02 02:34:19

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: Hidden bbcode

That is needed or the writing below it (show/hide) isnt shown. This is gonna be harder than i thought actually, ill probably have to change the code completely


Site admin

Offline

#6 2008-05-04 08:47:29

sOwL
Member
Registered: 2007-09-16
Posts: 97

Re: Hidden bbcode

i think i could code some javascript to do that u know


withstupid

Offline

#7 2008-05-07 14:39:54

t0mmy9
Administrator
Registered: 2005-01-07
Posts: 21

Re: Hidden bbcode

Nevermind, i think ive solved it. Tell me if it doesn't work for you. Locking post...


Site admin

Offline

Board footer

Powered by FluxBB