[Request] Spoiler tag

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Anti-Spam Guide
Locked
azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

[Request] Spoiler tag

Post by azzurri » Mon May 28, 2007 10:31 am

A [spoiler] tag would be much appreciated!

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [Request] Spoiler tag

Post by azzurri » Mon May 28, 2007 12:06 pm

I see they have a spoiler tag on this page: http://startrekguide.com/forum/viewtopi ... =75&t=1384

I would like something like that.

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [Request] Spoiler tag

Post by azzurri » Mon May 28, 2007 12:18 pm

Nevermind, I got one now. I just had to make a search on this forum. Sorry.

sw0rdfish
Registered User
Posts: 6
Joined: Wed May 30, 2007 5:11 pm

Re: [Request] Spoiler tag

Post by sw0rdfish » Wed May 30, 2007 5:12 pm

Can you link to the solution?

I'd like to do the same thing.

Thanks

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [Request] Spoiler tag

Post by azzurri » Wed May 30, 2007 5:20 pm

Here is the code...

ACP --> POSTS --> BBCODES

In first box put...

Code: Select all

[spoiler]{TEXT1}[/spoiler]
and in second box put...

Code: Select all

<div><input type="button" value="Show spoiler" style="width: 80px; font-size: 10px;" 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 spoiler'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show spoiler'; }"></div><div><div style="display: none;">
{TEXT1}</div></div>

sw0rdfish
Registered User
Posts: 6
Joined: Wed May 30, 2007 5:11 pm

Re: [Request] Spoiler tag

Post by sw0rdfish » Mon Jun 04, 2007 7:29 pm

cheers...

Thanks mate

User avatar
heatherw_01
Registered User
Posts: 164
Joined: Sun Oct 06, 2002 1:29 am
Location: UK
Contact:

Re: [Request] Spoiler tag

Post by heatherw_01 » Thu Jul 19, 2007 10:38 am

Brilliant, that is just what I needed

Kleopatras_Sister
Registered User
Posts: 172
Joined: Sun Jul 08, 2007 5:37 pm

Re: [Request] Spoiler tag

Post by Kleopatras_Sister » Tue Jul 24, 2007 1:47 am

morning

and how is the code that let me make spoiler in a spoiler

example

Code: Select all

[spoiler]test


[spoiler]test[/spoiler]

test

[spoiler]test[/spoiler]

test[/spoiler]

regards

Locked

Return to “[3.0.x] MOD Requests”