Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 59 lines (48 sloc) 2.206 kb
46b8662 Brad Robertson config option for initial effect on tabs
bradrobertson authored
1 <!DOCTYPE html>
2
3 <html>
4 <head>
4154d99 Duc Tri Le #613: Added jQuery 1.7.1 and updated tests to point to the file
duclet authored
5 <script src="../../lib/jquery-1.7.1.js"></script>
46b8662 Brad Robertson config option for initial effect on tabs
bradrobertson authored
6 <script src="../../src/tabs/tabs.js"></script>
7 <link rel="stylesheet" type="text/css" href="css/tabs.css"/>
8 </head>
9
10 <body>
11 <!-- tabs -->
12 <ul class="tabs">
13 <li><a href="#1">Tab 1</a></li>
14 <li><a href="#2">Second tab</a></li>
15 <li><a href="#3">A ultra long third tab</a></li>
16 </ul>
17
18 <!-- panes -->
19 <div class="panes">
20
21 <div class="pane" style="display:block">
22 <p>
23 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra, leo sit amet auctor fermentum, risus lorem posuere tortor, in accumsan purus magna imperdiet sem.
24 </p>
25
26 <p>
27 Suspendisse enim. Pellentesque facilisis aliquam enim. Maecenas facilisis molestie lectus. Sed ornare ultricies tortor. Vivamus nibh metus, faucibus quis, semper ut, dignissim id, diam.
28 </p>
29 </div>
30
31 <div class="pane">
32 <p>
33 Mauris ultricies. Nam feugiat egestas nulla. Donec augue dui, molestie sed, tristique sit amet, blandit eu, turpis. Mauris hendrerit, nisi et sodales tempor, orci tellus laoreet elit, sed molestie dui quam vitae dui.
34 </p>
35 <p>
36 Pellentesque nisl. Ut adipiscing vehicula risus. Nam eget tortor. Maecenas id augue. Vivamus interdum nulla ac dolor. Fusce metus. Suspendisse eu purus. Maecenas quis lacus eget dui volutpat molestie.
37 </p>
38 </div>
39
40 <div class="pane">
41 <p>
42 Maecenas at odio. Nunc laoreet lectus vel ante. Nullam imperdiet. Sed justo dolor, mattis eu, euismod sed, tempus a, nisl. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
43 </p>
44
45 <p>
46 In sed dolor. Etiam eget quam ac nibh pharetra adipiscing. Nullam vitae ligula. Sed sit amet leo sit amet arcu mollis ultrices. Vivamus rhoncus sapien nec lorem. In mattis nisi. Vivamus at enim. Integer semper imperdiet massa. Vestibulum nulla massa, pretium quis, porta id, vestibulum vitae, velit.
47 </p>
48 </div>
49 </div>
50
51 <script type="text/javascript">
52 $(function(){
53 $(".tabs").tabs(".pane", {effect: 'fade'});
54 });
55 </script>
56
57 </body>
7af96e5 Duc Tri Le Update tests to use jQuery 1.7.1
duclet authored
58 </html>
Something went wrong with that request. Please try again.