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.

Attach dropdown text to expand/collapse icon

Postby joekahuna on Mon Dec 07, 2015 12:21 pm

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.
joekahuna
Jr. Propeller Head
 
Posts: 1
Joined: Mon Dec 07, 2015 12:10 pm
Location: Silicon Valley, CA

Re: Attach dropdown text to expand/collapse icon

Postby kwag_myers on Thu Dec 10, 2015 7:38 am

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


Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 1 guest