Loading...
 
Skip to main content

Features / Usability


Plugin for collapsing/expanding a block of text on mouse click?

posts: 4

I need to post a bunch of (short) functions on a tiki page, and most people would only be interested in their declarations. But for those who want to see the code, I want to offer the possibility of clicking on the declaration to expand it and display its full code.

It's kind of like the "spoilers" tag on some forums, which users can expand and collapse with a mouse click.

Is there something similar in Tiki?

EDIT
jonnyb answered on IRC, the plugin to use is Fade

Thanks jonnyb!

posts: 37 United States

Try putting an exclamation mark with a horizontal dash. Like this:

Lesson 1

[+]