Expand-Collapse Paragraph
Need to display a lot of information in a limited area? This script will display/hide the information at the click of a button. There is no limit to the amount of information you can add or sections you can use. Excellent for FAQs.
Click the button below to find the answer to the question. Click again to close the section |
| The JavaScript Source: Miscellaneous : Expand-Collapse Paragraph
Simply click inside the window below, use your cursor to highlight the script, and copy [Control]+C the script into a new file in your text editor (such as Note Pad) and save [Control+S]. The script is yours!!!
|


Leave a Response
(2 comments)Is there a way to add a "close" button at the end so that people don't have to scroll up to collapse the paragraph? Thank you.
But what if I want the button to disappear, after the text is expanded.