2011-12-01, 06:00 PM
This user has been denied support.
ok so i am trying to add this to my forum but its not workingI am not sure on how to do the css part where do i put it
Add this to your themes additional css:
Code:
a.spoiler, a.spoiler:visited, a.spoiler:active, a.spoiler:hover {color:#000; background:#fff; border: 1px dotted #ccc; text-decoration:none;}
a.spoiler span {display:none;}
a.spoiler:hover {border: 1px dotted #cc;}
a.spoiler:hover span {display:inline; font-weight:normal;}
Then create a new custom mycode inside admincp.
Regular Expression:
Code:
\[spoiler\](.*?)\[/spoiler\]
Replacement:
Code:
<a href="#" class="spoiler">Spoiler: <span>$1</span></a>