jQuery Accordion Getting Started

In order to render the ShieldUI Accordion JavaScript widget on a webpage, you need to:

1. Include references to all required scripts. Make sure you include the CSS file for your preferred theme.
2. Add a <UL> or <DIV> element, which will host the control.
3. Initialize the widget.

<!DOCTYPE html>
<title>Shield Button</title>
<meta charset="utf-8" />

<link rel="stylesheet" type="text/css" href="css/light/all.min.css" />
<script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="js/shieldui-all.min.js" type="text/javascript"></script>


<ul id="accordion">
        <h2>Title 1</h2>
        <div>Content for item 1</div>
        <h2>Title 2</h2>
        <div>Content for item 2</div>

<script type="text/javascript">
    $(function () {
            mode: "multiple"


To see an example of the control in action, along with all the required code, please refer to the following example.