Changeset 3930 for trunk/ui/current/tests/tabs.html
- Timestamp:
- 11/25/07 18:42:56 (1 year ago)
- Files:
-
- 1 modified
-
trunk/ui/current/tests/tabs.html (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/current/tests/tabs.html
r3922 r3930 8 8 9 9 <title>jQuery UI Tabs</title> 10 11 <link rel="stylesheet" href="../../../themes/flora/flora.tabs.css" type="text/css" media="print, projection, screen" title="Flora">12 <link rel="alternate stylesheet" href="../../../themes/light/light.tabs.css" type="text/css" media="print, projection, screen" title="Light">13 <link rel="alternate stylesheet" href="../../../themes/dark/dark.tabs.css" type="text/css" media="print, projection, screen" title="Dark">14 10 15 11 <script type="text/javascript" src="../../../jquery/src/core.js"></script> … … 21 17 <script type="text/javascript" src="../../../plugins/cookie/jquery.cookie.js"></script> 22 18 <script type="text/javascript" src="../ui.tabs.js"></script> 19 23 20 <script type="text/javascript"> 21 var theme = location.search && location.search.split('=')[1] || 'flora'; 22 document.write('<link rel="stylesheet" href="../../../themes/' + theme + '/' + theme + '.tabs.css" type="text/css" media="print, projection, screen">'); 23 24 24 $(function() { 25 $(document.body).addClass(theme); 26 25 27 $('#container-1 ul').tabs(); 26 28 $('#container-2 ul').tabs(2); … … 42 44 }); 43 45 $('#container-7 ul').tabs({ fxShow: { height: 'show', opacity: 'show' }, fxSpeed: 'normal' }); 44 $('#container-8 ul').tabs({ cache: false });46 $('#container-8 ul').tabs({ cache: true, unselected: false }); 45 47 $('#container-9 ul').tabs({ disabled: [3] }); 46 48 $('<p><a href="#">Remove tab<\/a><\/p>').prependTo('#fragment-22').find('a').click(function() { … … 97 99 </style> 98 100 </head> 99 <body class="flora">101 <body> 100 102 <h1><a href="http://ui.jquery.com">jQuery UI</a> Tabs</h1> 101 103
