Spoiler tags

Tell us if you like the Site or bring in your Suggestions if any

Re: Spoiler tags

Postby s1ave77 » Fri Apr 25, 2014 12:07 am

=)(= wrote:Would be nice for bigger pictures etc, slave77 agrees ;)


Ask Paul for this ...
User avatar
s1ave77
Super Moderator
 
Posts: 113
Joined: Tue Apr 08, 2014 8:56 pm
Location: Germany/Prussia

Re: Spoiler tags

Postby PaulDesmond » Fri Apr 25, 2014 12:17 am

This software is not as comfortable as vBulletin and I have no idea where to find the spoilers if any.
Do we really need them?
Image
User avatar
PaulDesmond
Site Admin
 
Posts: 430
Joined: Tue Aug 20, 2013 9:45 am
Location: Germany/Bavaria

Re: Spoiler tags

Postby BAV0 » Tue Aug 12, 2014 3:56 pm

I don't think we really need them, but implementing them shouldn't be hard, why not try something like this:
Code: Select all
[spoiler]{TEXT}[/spoiler]

Code: Select all
<dl class="codebox"><dt>Spoiler: <a href="javascript&#058; void(0);" onClick="var spoiler = this.parentNode.parentNode.getElementsByTagName('dd')[0]; if ( spoiler.style.display == 'none' ) { spoiler.style.display = 'block'; this.innerHTML = 'hide'; } else { spoiler.style.display = 'none'; this.innerHTML = 'show'; };">show</a></dt><dd style="display: none;">{TEXT}</dd></dl>                 
BAV0
VIP Group
 
Posts: 30
Joined: Mon Oct 07, 2013 9:42 pm


Return to Feedback and Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron