Accordions display multiple sections of content in a concise layout.
As the name indicates, it expands like an accordion. When you first load it, only the section headings are visible, with the “>” symbol appearing next to each section heading. Pressing the “>” expands that section, opening the accordion. Accordions makes each section easy to find without scrolling down a long page of text.
The belove example shows an accordion in both states – the first is closed, and the second is open - and showing its content. When in an “open” state, the “down arrow” can be used to close that section.
To add an accordion to your page:
-
1121 870 380 Click on the table button. Insert a table with only one column. Each section (headline and body) in the accordion needs two rows. You can always add more later.
-
1122 870 423 Once you've inserted your table, place your cursor/click into the table and go to the Formats drop- down menu and select Accordion.
1123 870 389 Add titles and content to your accordion as shown. Once you save the page, the content of each section will be hidden.
1124 870 517 To add more rows, right click on any row in the accordion and select insert row after or before.
-
1125 870 353 After saving, your accordion will display with all sections closed. You can click on each section to open it. Make sure to hit reload to refresh the cache.
Accordion Examples
Example of a working accordion, this table has an even number of rows (four total):
Confidentiality Information Policy |
Purchase College is committed to protecting the privacy and confidentiality of information contained in the multiple databases and print files maintained by the college in the regular course of business. Personal information that is confidential in nature will be used only in accordance with Purchase College Information Security Program, Family Educational Rights and Privacy Act (FERPA), Health Insurance Portability and Accountability Act (HIPAA) regulations, and all applicable SUNY, state, and federal regulations. |
Digital Millennium Copyright Act (DMCA) Policy |
As a community of artists, writers, musicians, filmmakers, and scholars whose careers will be spent creating intellectual property, we encourage our entire community to respect the property of others. Downloading anything onto your machine from untrustworthy P2P (peer-to-peer) sources or websites not only exposes you to viruses, worms, and spyware, but often violates the copyright laws and can lead to suspension of network privileges, or to lawsuits from the Recording Industry Association of America (RIAA), the Motion Picture Association of America (MPAA), or the Business Software Alliance (BSA). Please remember that theft is a crime, and that nothing in cyberspace is truly anonymous. |