28.06.2007, 14:22
Eine neue Erweiterung wurde veröffentlicht: Spoiler Mycode
Zitat: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 #cccccc;}
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>
Change to suit your needs. Works in IE, FF, and Opera.
Please let me know if you have any problems.
Vorschau:
http://www.democracyforums.com