diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-10-05 14:06:03 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2008-10-05 14:06:03 +0000 |
commit | b53e2e5c7e26f22475d1762774db8f211f60066f (patch) | |
tree | f122f89c8575d98c3b85d5af389ca92cc96be427 /demos | |
parent | 2c89a2d2c91f831c2a62012b73af4e157e65ca37 (diff) | |
download | jquery-ui-b53e2e5c7e26f22475d1762774db8f211f60066f.tar.gz jquery-ui-b53e2e5c7e26f22475d1762774db8f211f60066f.zip |
accordion functional demo: fixes to work with default theme
Diffstat (limited to 'demos')
-rw-r--r-- | demos/functional/templates/ui.accordion.data.html | 30 | ||||
-rw-r--r-- | demos/functional/templates/ui.accordion.html | 4 |
2 files changed, 22 insertions, 12 deletions
diff --git a/demos/functional/templates/ui.accordion.data.html b/demos/functional/templates/ui.accordion.data.html index 320cfa711..85ed03c18 100644 --- a/demos/functional/templates/ui.accordion.data.html +++ b/demos/functional/templates/ui.accordion.data.html @@ -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> diff --git a/demos/functional/templates/ui.accordion.html b/demos/functional/templates/ui.accordion.html index 57191bf04..ad3374c62 100644 --- a/demos/functional/templates/ui.accordion.html +++ b/demos/functional/templates/ui.accordion.html @@ -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"});' } ] } ] |