aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tabs.html
diff options
context:
space:
mode:
authorKlaus Hartl <klaus.hartl@googlemail.com>2008-10-02 14:20:35 +0000
committerKlaus Hartl <klaus.hartl@googlemail.com>2008-10-02 14:20:35 +0000
commitc2b0afd3e7dce76f01fa6661993cbf08105d22cb (patch)
tree1b4b2d1f03f50f3a91e0791830e8bb3b1500f146 /tests/tabs.html
parentde7d22a02e72646d159f161ebfa07b6abadddbc8 (diff)
downloadjquery-ui-c2b0afd3e7dce76f01fa6661993cbf08105d22cb.tar.gz
jquery-ui-c2b0afd3e7dce76f01fa6661993cbf08105d22cb.zip
UI Tabs: fixed "colon in id bug", wrote more unit tests and refactored stuff afterwards
Diffstat (limited to 'tests/tabs.html')
-rw-r--r--tests/tabs.html22
1 files changed, 19 insertions, 3 deletions
diff --git a/tests/tabs.html b/tests/tabs.html
index 4fbc06354..a659050fc 100644
--- a/tests/tabs.html
+++ b/tests/tabs.html
@@ -11,13 +11,14 @@
<script type="text/javascript" src="qunit/testrunner.js"></script>
<script type="text/javascript" src="simulate/jquery.simulate.js"></script>
+ <script type="text/javascript" src="plugins/cookie/jquery.cookie.js"></script>
<script type="text/javascript" src="tabs.js"></script>
<style type="text/css">
-
-
-
+ .ui-tabs-hide {
+ display: none !important;
+ }
</style>
@@ -32,6 +33,7 @@
<ol id="tests"></ol>
<div id="main" style="position:absolute;top:-20000px">
+
<div id="tabs1">
<ul>
<li><a href="#fragment-1"><span>One</span></a></li>
@@ -51,6 +53,20 @@
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
</div>
</div>
+
+ <div id="tabs2">
+ <ul>
+ <li><a href="#colon:test"><span>One</span></a></li>
+ <li><a href="#inline-style"><span>Two</span></a></li>
+ </ul>
+ <div id="colon:test">
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
+ </div>
+ <div style="height: 300px;" id="inline-style">
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
+ </div>
+ </div>
+
</div>
</body>