<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Treeview jQuery Plugin Example</title>
    <link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">
    <link type="text/css" rel="stylesheet"
        href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css" />
    <link type="text/css" rel="stylesheet"
        href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css" />
       
    <style>
    body {
        background-color: #333;
        color: #fff;
    }

    .btn {
        color: #fff;
    }

    .container {
        margin: 150px auto;
    }
    </style>
</head>

<body>
    <div id="jquery-script-menu">
        
    </div>
    <div class="container">
        <h1>Treeview jQuery Plugin Example</h1>
        <div class="row">
            <div class="col-lg-3">
                <div id="treeview-container">
                    <ul>
                        <li data-value="1">Tree View Item 1</li>
                        <li data-value="1.a">Tree View Item 2
                            <ul>
                                <li data-value="2">Tree View Item 2.1</li>
                                <li data-value="2.2">Tree View Item 2.2
                                    <ul>
                                        <li data-value="2.2.1">Tree View Item 2.2.1</li>
                                        <li data-value="2.2.2">Tree View Item 2.2.2</li>
                                        <li data-value="2.2.3">Tree View Item 2.2.3</li>
                                    </ul>
                                </li>
                                <li>Tree View Item 2.3</li>
                            </ul>
                        </li>
                        <li>Tree View Item 3
                            <ul>
                                <li data-value="3.1">Tree View Item 3.1</li>
                                <li data-value="3.2">Tree View Item 3.2</li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-lg-3">
                <div id="treeview-container1">
                    <ul>
                        <li data-value1="1">Tree View Item 1</li>
                        <li data-value1="1.a">Tree View Item 2
                            <ul>
                                <li data-value1="2">Tree View Item 2.1</li>
                                <li data-value1="2.2">Tree View Item 2.2
                                    <ul>
                                        <li data-value1="2.2.1">Tree View Item 2.2.1</li>
                                        <li data-value1="2.2.2">Tree View Item 2.2.2</li>
                                        <li data-value1="2.2.3">Tree View Item 2.2.3</li>
                                    </ul>
                                </li>
                                <li>Tree View Item 2.3</li>
                            </ul>
                        </li>
                        <li>Tree View Item 3
                            <ul>
                                <li data-value1="3.1">Tree View Item 3.1</li>
                                <li data-value1="3.2">Tree View Item 3.2</li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-lg-6">
                <button type="button" id="show-values" class="btn btn-danger">Get Values</button><br>
                <br>

                <pre id="values" class="well"></pre>
                <pre id="values1" class="well"></pre>
            </div>
        </div>
        <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
        <script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <script src="Checkable-Collapsible-jQuery-Tree-View-Plugin-Treeview/dev/logger.js"></script>
        <script src="Checkable-Collapsible-jQuery-Tree-View-Plugin-Treeview/dev/treeview.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta/js/bootstrap.min.js"></script>
        <link rel="stylesheet" href="">

        <script>
        $('#treeview-container').treeview({
            debug: true,
            // data : ['3.2', '2.2.3']
        }); 
        $('#treeview-container1').treeview({
            debug: true,
            // data : ['3.2', '2.2.3']
        });
        $('#show-values').on('click', function() {
            $('#values').text(
                $('#treeview-container').treeview('selectedValues')
            );
        });
        </script>
    </div>
    <script type="text/javascript">
    // var _gaq = _gaq || [];
    // _gaq.push(['_setAccount', 'UA-36251023-1']);
    // _gaq.push(['_setDomainName', 'jqueryscript.net']);
    // _gaq.push(['_trackPageview']);

    // (function() {
    //     var ga = document.createElement('script');
    //     ga.type = 'text/javascript';
    //     ga.async = true;
    //     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +
    //         '.google-analytics.com/ga.js';
    //     var s = document.getElementsByTagName('script')[0];
    //     s.parentNode.insertBefore(ga, s);
    // })();



    $('#treeview-container').on('change', function() {
        $('#values').text(
                $('#treeview-container').treeview('selectedValues')
            );
});
$('#treeview-container1').on('change', function() {
        $('#values1').text(
                $('#treeview-container1').treeview('selectedValues')
            );
});
    </script>





<div id="accordion" role="tablist">
  <div class="card">
    <div class="card-header" role="tab" id="headingOne">
      <h5 class="mb-0">
        <a data-toggle="collapse" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
          Collapsible Group Item #1
        </a>
      </h5>
    </div>

    <div id="collapseOne" class="collapse show" role="tabpanel" aria-labelledby="headingOne" data-parent="#accordion">
      <div class="card-body">
        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
      </div>
    </div>
  </div>

  
</div>
</body>

</html>