Search and Top Navigation
Ticket #3683: test2.html
File test2.html, 0.7 KB (added by torq, December 20, 2008 04:14PM UTC)
Semi-self contained demonstration of issue behaviour; needs links to jQuery and jQueryUI
<html>
<head>
<script type="text/javascript" src="jquery-1.2.6.min.js"></script>
<!-- <script type="text/javascript" src="jquery-ui-1.5.3.min.js"></script> -->
<script type="text/javascript" src="jquery-ui-1.6rc2.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
//$("#tabtest > ul").append("<li><a href=\"#fragment0\"><span>tab0</span></a></li>");
$("#tabtest > ul").tabs();
$("#tabtest > ul").tabs("add", "#fragment1", "tab1");
alert("done!");
});
</script>
</head>
<body>
<div id="tabtest">
<ul>
</ul>
</div>
<div id="fragment0">f0</div>
<div id="fragment1">f1</div>
</body>
</html>
Download in other formats:
Original Format
File test2.html, 0.7 KB (added by torq, December 20, 2008 04:14PM UTC)
Semi-self contained demonstration of issue behaviour; needs links to jQuery and jQueryUI
<html>
<head>
<script type="text/javascript" src="jquery-1.2.6.min.js"></script>
<!-- <script type="text/javascript" src="jquery-ui-1.5.3.min.js"></script> -->
<script type="text/javascript" src="jquery-ui-1.6rc2.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
//$("#tabtest > ul").append("<li><a href=\"#fragment0\"><span>tab0</span></a></li>");
$("#tabtest > ul").tabs();
$("#tabtest > ul").tabs("add", "#fragment1", "tab1");
alert("done!");
});
</script>
</head>
<body>
<div id="tabtest">
<ul>
</ul>
</div>
<div id="fragment0">f0</div>
<div id="fragment1">f1</div>
</body>
</html>