News:

Create A Forum Installed

Author Topic: Spoiler Tag for free forums, is there an upgrade??  (Read 2024 times)

0 Members and 1 Guest are viewing this topic.

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7191
  • Karma: 328
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: Spoiler Tag for free forums, is there an upgrade??
« on: May 17, 2020, 02:39:53 pm »
That code above won't work due to the css classes are wrong but it would go into your css file under style manager.
Spoiler code generates
Code: [Select]
<fieldset class="spoiler" onmouseover="this.lastChild.style.display = 'block';" onmouseout="this.lastChild.style.display='none'"><legend><b>Spoiler</b> <small>(hover to show)</small></legend><div class="spoilerbody" style="display: none">test</div></fieldset>

You would need to override the javascript and do onclick instead of onmouseover
Could be done with jquery it looks like but I am not much of a javacript coder.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
7875 Views
Last post July 26, 2013, 02:03:35 pm
by pro
0 Replies
8210 Views
Last post February 27, 2014, 04:34:12 am
by terrel8125
1 Replies
32858 Views
Last post January 11, 2015, 08:41:35 pm
by CyanProductions
0 Replies
7613 Views
Last post February 22, 2015, 06:52:20 pm
by hudumapoa
2 Replies
1745 Views
Last post March 27, 2015, 08:50:24 pm
by hudumapoa