Attach dropdown text to expand/collapse icon
-
- Jr. Propeller Head
- Posts: 1
- Joined: Mon Dec 07, 2015 12:10 pm
- Location: Silicon Valley, CA
- Contact:
Attach dropdown text to expand/collapse icon
I'd like to expand and collapse text in a snippet using a button, similar to the collapse function offered in Bootstrap (see http://getbootstrap.com/javascript/#collapse. What's the best way to do this? I don't mind using JavaScript, if necessary.
-
- Propellus Maximus
- Posts: 810
- Joined: Wed Jul 25, 2012 11:36 am
- Location: Ann Arbor, MI
Re: Attach dropdown text to expand/collapse icon
You should be able to use Flare's Drop-down Text. Just be sure to insert the snippet as a block, i.e., in a blank line (see Page 6). The trick to doing that is to put the cursor at the end of the preceding paragraph, table, etc. and press the right arrow key of your keyboard. This puts the cursor into a blank line (the cursor should be horizontal, not vertical).
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard