Attach dropdown text to expand/collapse icon

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
Post Reply
joekahuna
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

Post by joekahuna »

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.
kwag_myers
Propellus Maximus
Posts: 810
Joined: Wed Jul 25, 2012 11:36 am
Location: Ann Arbor, MI

Re: Attach dropdown text to expand/collapse icon

Post by kwag_myers »

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
Post Reply