mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
33 lines
579 B
HTML
33 lines
579 B
HTML
|
<script type="text/javascript">
|
||
|
|
||
|
var model = {
|
||
|
|
||
|
renderAt: '#containerDemo',
|
||
|
|
||
|
title: 'Accordion Demos',
|
||
|
|
||
|
desc: 'Simple accordion',
|
||
|
|
||
|
demos: [
|
||
|
|
||
|
{
|
||
|
title: 'Simple accordion',
|
||
|
html: { url: 'templates/ui.accordion.data.html' },
|
||
|
destroy: '$("#accordionDemo").accordion("destroy");',
|
||
|
|
||
|
options: [
|
||
|
{ desc: 'Simple Accordion Mouse over', source: '$("#accordionDemo").accordion({event: "mouseover"});' },
|
||
|
{ desc: 'Simple Accordion', source: '$("#accordionDemo").accordion();' }
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
|
||
|
};
|
||
|
|
||
|
$(function(){
|
||
|
|
||
|
uiRenderDemo(model);
|
||
|
|
||
|
});
|
||
|
|
||
|
</script>
|