mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
tests/visual: fixed Accordion test on all.html page.
This commit is contained in:
parent
71528f7fc4
commit
00cc939603
@ -10,9 +10,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
function on() {
|
function on() {
|
||||||
$("#accordion").accordion({
|
$("#accordion").accordion({ header: "h3" });
|
||||||
header: "h3"
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
function off() {
|
function off() {
|
||||||
$("#accordion").accordion("destroy");
|
$("#accordion").accordion("destroy");
|
||||||
@ -28,21 +26,21 @@
|
|||||||
Accordion
|
Accordion
|
||||||
<div id="accordion">
|
<div id="accordion">
|
||||||
<div>
|
<div>
|
||||||
<h3><a href="#">Test 1</a></h3>
|
<h3><a href="#">First</a></h3>
|
||||||
<div>
|
<div>
|
||||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit
|
Lorem ipsum dolor sit amet.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h3><a href="#">Test 2</a></h3>
|
<h3><a href="#">Second</a></h3>
|
||||||
<div>
|
<div>
|
||||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit
|
Phasellus mattis tincidunt nibh.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h3><a href="#">Test 3</a></h3>
|
<h3><a href="#">Third</a></h3>
|
||||||
<div>
|
<div>
|
||||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit
|
Nam dui erat, auctor a, dignissim quis.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<script type="text/javascript" src="../../ui/ui.tabs.js"></script>
|
<script type="text/javascript" src="../../ui/ui.tabs.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#accordion").accordion();
|
$("#accordion").accordion({ header: "h3" });
|
||||||
$("#datepicker").datepicker();
|
$("#datepicker").datepicker();
|
||||||
var dlg = $("#dlg").remove();
|
var dlg = $("#dlg").remove();
|
||||||
$("#dialog").click(function() {
|
$("#dialog").click(function() {
|
||||||
@ -49,21 +49,21 @@
|
|||||||
Accordion
|
Accordion
|
||||||
<div id="accordion">
|
<div id="accordion">
|
||||||
<div>
|
<div>
|
||||||
<h3><a href="#">Test 1</a></h3>
|
<h3><a href="#">First</a></h3>
|
||||||
<div>
|
<div>
|
||||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit
|
Lorem ipsum dolor sit amet.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h3><a href="#">Test 2</a></h3>
|
<h3><a href="#">Second</a></h3>
|
||||||
<div>
|
<div>
|
||||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit
|
Phasellus mattis tincidunt nibh.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h3><a href="#">Test 3</a></h3>
|
<h3><a href="#">Third</a></h3>
|
||||||
<div>
|
<div>
|
||||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit
|
Nam dui erat, auctor a, dignissim quis.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user