Accordion Triggered with a Button
Select the button to see the code.
Here's the source code:
<script type="text/javascript">
// http://api.jquery.com/toggleClass/
// http://www.akifkaraagac.com/addclass-removeclass-toggleclass-jquery-css-isemleri/
$(document).ready(function(){
$(".hidden").hide();
$("p.button").click(function(){
$(this).toggleClass("active");
$(this).next(".hidden").slideToggle("slow,");
});
});
</script>
<p class="button">Planned Outages</p>
<div class="hidden">
Content goes here
</div>