Toggles

Now you see it, now you don't

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

The Code

<!-- Display with default skin color -->
[toggle open="true" title="Example Toggle"]
Toggle content here…
[/toggle]
<!-- Display with dark grey color -->
[toggle open="false" title="Example Toggle" color="#444444"]
Toggle content here…
[/toggle]
<!-- Display with orange color -->
[toggle open="false" title="Example Toggle" color="#ff8000"]
Toggle content here…
[/toggle]

The Options

  • title – the title of the toggle
  • color – the background color of toggle header
  • border – the border color of the toggle content area
  • open – whether the toggle should be open by default
Copyright © 2013 AeroPyrénées Perpignan