"CollapsedTable"
Bootstrap 3.3.0 Snippet by gogonba

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <table class="table table-striped"> <tr><th>&#952[deg]</th><th>sin(&#952)</th><th>cos(&#952)</th><th>tan(&#952)</th></tr> <tr data-toggle="collapse" data-target="#tr_a" aria-expanded="false" aria-controls="tr_a"> <td>0</td><td>0</td><td>1</td><td>0</td> </tr> <tr id="tr_a" class="collapse"> <td>15</td><td>0.2588</td><td>0.9659</td><td>0.2679</td> </tr> <tr data-toggle="collapse" data-target="#tr_b" aria-expanded="false" aria-controls="tr_b"> <td>30</td><td>0.5000</td><td>0.8660</td><td>0.5774</td> </tr> <tr id="tr_b" class="collapse"> <td>45</td><td>0.7071</td><td>0.7071</td><td>1.0000</td> </tr> </table> </div>

Related: See More


Questions / Comments: