expanding text link/header AFTER body

This forum is for all Flare issues not related to any of the other categories.
Post Reply
hoffie4
Propeller Head
Posts: 27
Joined: Wed Sep 07, 2016 12:29 pm
Location: San Diego, CA

expanding text link/header AFTER body

Post by hoffie4 »

So I want to create a section of expanding text at the end of a long paragraph. I want to have text that ends in "... (read more)" and when a user clicks on that section of text the rest of the paragraph is shown. My issue is that I want the newly shown text to show up BEFORE the "read more" text and after showing everything, I want the expanding text header to change and instead say "(show less)".

Example:

This section of the knowledge base is for printing. Here you will find... (show more)

This section of the knowledge base is for printing. Here you will find information about how to set up a printer and solutions to common printing problems. (show less)


Does anyone know how I can do this? The functionality of the expanding text by default is pretty lame, as users should not have to click in the middle of a paragraph to hide the text again (and the expanding text link interrupts the text even if it is between sentences).

Any help is greatly appreciated.
Post Reply