2006-10-10, 12:17 AM
Hi,
I have a simple spoiler tag implemented using 'MyCode'
Regular expression
This generally works well, except that I cannot hide images/color characters.
So I am requesting a click-to-view spoiler tag (maybe used with [spoiler2] tag)
all spoiler section is initially hidden, user has to click on [Show] button to show it:
then the button changes to [Hide], click it again to hide the spoiler:
Thanks!
I have a simple spoiler tag implemented using 'MyCode'
Regular expression
\[spoiler\](.*?)\[/spoiler\]
Relacement<div style="font-weight: bold; color: grey; background-color: grey;">$1</div>
This generally works well, except that I cannot hide images/color characters.
So I am requesting a click-to-view spoiler tag (maybe used with [spoiler2] tag)
all spoiler section is initially hidden, user has to click on [Show] button to show it:
then the button changes to [Hide], click it again to hide the spoiler:
Thanks!