mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
accordion functional demo: fixes to work with default theme
This commit is contained in:
parent
2c89a2d2c9
commit
b53e2e5c7e
@ -1,26 +1,36 @@
|
||||
<ul id="accordionDemo" style="width: 200px; height: 450px;">
|
||||
<li>
|
||||
<a href='#'>Test 1</a>
|
||||
<li class="ui-accordion-group">
|
||||
<h3 class="ui-accordion-header">
|
||||
<a href='#'>Test 1</a>
|
||||
</h3>
|
||||
<div class="ui-accordion-data">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<a href='#'>Test 2</a>
|
||||
<li class="ui-accordion-group">
|
||||
<h3 class="ui-accordion-header">
|
||||
<a href='#'>Test 2</a>
|
||||
</h3>
|
||||
<div class="ui-accordion-data">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<a href='#'>Test 3</a>
|
||||
<li class="ui-accordion-group">
|
||||
<h3 class="ui-accordion-header">
|
||||
<a href='#'>Test 3</a>
|
||||
</h3>
|
||||
<div class="ui-accordion-data">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<a href='#'>Test 4</a>
|
||||
<li class="ui-accordion-group">
|
||||
<h3 class="ui-accordion-header">
|
||||
<a href='#'>Test 4</a>
|
||||
</h3>
|
||||
<div class="ui-accordion-data">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<a href='#'>Test 5</a>
|
||||
<li class="ui-accordion-group">
|
||||
<h3 class="ui-accordion-header">
|
||||
<a href='#'>Test 5</a>
|
||||
</h3>
|
||||
<div class="ui-accordion-data">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
||||
</div>
|
||||
</li>
|
||||
|
@ -16,8 +16,8 @@
|
||||
destroy: '$("#accordionDemo").accordion("destroy");',
|
||||
|
||||
options: [
|
||||
{ desc: 'Simple Accordion Mouse over', source: '$("#accordionDemo").accordion({event: "mouseover"});' },
|
||||
{ desc: 'Simple Accordion', source: '$("#accordionDemo").accordion();' }
|
||||
{ desc: 'Simple Accordion Mouse over', source: '$("#accordionDemo").accordion({event: "mouseover", header:".ui-accordion-header"});' },
|
||||
{ desc: 'Simple Accordion', source: '$("#accordionDemo").accordion({ header: ".ui-accordion-header"});' }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user