User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

{Spoiler text="string" display_on_load="false|true"}your content{/Spoiler}

A simple tooltip for the text in between the tag.

You can also hide addtional information that need a lot of space to keep your page clearly arranged.


Params for Tooltip:

text: The text that should appear on the button that toggles the content.

display_on_load: Defines if the content is displayed on page load or not. Default is false.


How to use it:

{Spoiler text="Spoiler alert!"}my content{/Spoiler}

Example:


Available for:

Changelog:

2016-12-13: Added a unique ID to each Spoiler so several can be used on the same page.