User Tools

Site Tools


res:plugins:spoiler-tags

This is an old revision of the document!


Spoiler Tags

Author: Tongara

Description

This plugin makes it possible to hide content in spoiler tags and requires the BBCode plugin.

Example:

[spoiler]Hidden conntent inside the spoiler tag[/spoiler]

Example with spoiler title:

[spoiler="Title of the spoiler"]Hidden conntent inside the spoiler tag[/spoiler]

You can style the spoiler very easily by editing the spoiler.css file found in the plugin's /res folder. The code uses HTML5's "<details>" and "<summary>" elements, making it very easy to create hidden content on websites.

Demo

Download

spoilertags1_0_2.zip

Support

Please ask for help on the FlatPress Forum

Changelog:

2022-12-14 (V1.0.2)
  • Fixed: The plugin crashes when the BBCode plugin is not enabled. Thanks to Arvid for the hint
2022-10-15 (V1.0.1)
  • Added polyfill-JavaScript for IE and Edge in the body
  • Added Instructions
res/plugins/spoiler-tags.1670976062.txt.gz · Last modified: by fraenkiman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki