|
1 | 1 | <!DOCTYPE html>
|
2 | 2 | <html lang="en">
|
3 |
| -<head> |
4 |
| - <link href="http://jillix.github.io/jQuery-sidebar/css/custom.css" rel="stylesheet"> |
5 |
| - <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> |
6 |
| - <script src="http://jillix.github.io/jQuery-sidebar/js/jquery.sidebar.min.js"></script> |
7 |
| - <script src="http://jillix.github.io/jQuery-sidebar/js/handlers.js"></script> |
8 |
| -</head> |
9 |
| -<body> |
10 |
| -<div class="container" align="center"> |
11 |
| - <h1>jQuery Sidebar Demo</h3> |
12 |
| - <h3>Toggle sidebars</h3> |
13 |
| - <div> |
14 |
| - <a href="#" class="btn btn-primary" data-action="toggle" data-side="left"><span>Toggle Left</span></a> |
15 |
| - <a href="#" class="btn btn-primary" data-action="toggle" data-side="top"><span>Toggle Top</span></a> |
16 |
| - <a href="#" class="btn btn-primary" data-action="toggle" data-side="right"><span>Toggle Right</span></a> |
17 |
| - <a href="#" class="btn btn-primary" data-action="toggle" data-side="bottom"><span>Toggle Bottom</span></a> |
18 |
| - </div> |
| 3 | + <head> |
| 4 | + <link href="http://jillix.github.io/jQuery-sidebar/css/custom.css" rel="stylesheet"> |
| 5 | + <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> |
| 6 | + <script src="./src/jquery.sidebar.js"></script> |
| 7 | + <script src="http://jillix.github.io/jQuery-sidebar/js/handlers.js"></script> |
| 8 | + </head> |
| 9 | + <body> |
| 10 | + <div class="container" align="center"> |
| 11 | + <h1>jQuery Sidebar Demo</h3> |
| 12 | + <h3>Toggle sidebars</h3> |
| 13 | + <div> |
| 14 | + <a href="#" class="btn btn-primary" data-action="toggle" data-side="left"><span>Toggle Left</span></a> |
| 15 | + <a href="#" class="btn btn-primary" data-action="toggle" data-side="top"><span>Toggle Top</span></a> |
| 16 | + <a href="#" class="btn btn-primary" data-action="toggle" data-side="right"><span>Toggle Right</span></a> |
| 17 | + <a href="#" class="btn btn-primary" data-action="toggle" data-side="bottom"><span>Toggle Bottom</span></a> |
| 18 | + </div> |
19 | 19 |
|
20 |
| - <h3>Open sidebars</h3> |
21 |
| - <section class="example-buttons" class="clearfix"> |
22 |
| - <a href="#" class="btn btn-success" data-action="open" data-side="left"><span>Open Left</span></a> |
23 |
| - <a href="#" class="btn btn-success" data-action="open" data-side="top"><span>Open Top</span></a> |
24 |
| - <a href="#" class="btn btn-success" data-action="open" data-side="right"><span>Open Right</span></a> |
25 |
| - <a href="#" class="btn btn-success" data-action="open" data-side="bottom"><span>Open Bottom</span></a> |
26 |
| - </section> |
| 20 | + <h3>Open sidebars</h3> |
| 21 | + <section class="example-buttons" class="clearfix"> |
| 22 | + <a href="#" class="btn btn-success" data-action="open" data-side="left"><span>Open Left</span></a> |
| 23 | + <a href="#" class="btn btn-success" data-action="open" data-side="top"><span>Open Top</span></a> |
| 24 | + <a href="#" class="btn btn-success" data-action="open" data-side="right"><span>Open Right</span></a> |
| 25 | + <a href="#" class="btn btn-success" data-action="open" data-side="bottom"><span>Open Bottom</span></a> |
| 26 | + </section> |
27 | 27 |
|
28 |
| - <h3>Close sidebars</h3> |
29 |
| - <section class="example-buttons" class="clearfix"> |
30 |
| - <a href="#" class="btn btn-danger" data-action="close" data-side="left"><span>Close Left</span></a> |
31 |
| - <a href="#" class="btn btn-danger" data-action="close" data-side="top"><span>Close Top</span></a> |
32 |
| - <a href="#" class="btn btn-danger" data-action="close" data-side="right"><span>Close Right</span></a> |
33 |
| - <a href="#" class="btn btn-danger" data-action="close" data-side="bottom"><span>Close Bottom</span></a> |
34 |
| - </section> |
35 |
| -</div> |
36 |
| -<div class="sidebars"> |
37 |
| -<div class="sidebar left">Left</div> |
38 |
| -<div class="sidebar right">Right</div> |
39 |
| -<div class="sidebar top">Top</div> |
40 |
| -<div class="sidebar bottom">Bottom</div> |
41 |
| -</div> |
42 |
| -</body> |
| 28 | + <h3>Close sidebars</h3> |
| 29 | + <section class="example-buttons" class="clearfix"> |
| 30 | + <a href="#" class="btn btn-danger" data-action="close" data-side="left"><span>Close Left</span></a> |
| 31 | + <a href="#" class="btn btn-danger" data-action="close" data-side="top"><span>Close Top</span></a> |
| 32 | + <a href="#" class="btn btn-danger" data-action="close" data-side="right"><span>Close Right</span></a> |
| 33 | + <a href="#" class="btn btn-danger" data-action="close" data-side="bottom"><span>Close Bottom</span></a> |
| 34 | + </section> |
| 35 | + </div> |
| 36 | + <div class="sidebars"> |
| 37 | + <div class="sidebar left">Left</div> |
| 38 | + <div class="sidebar right">Right</div> |
| 39 | + <div class="sidebar top">Top</div> |
| 40 | + <div class="sidebar bottom">Bottom</div> |
| 41 | + </div> |
| 42 | + </body> |
43 | 43 | </html>
|
0 commit comments