mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
33 lines
643 B
HTML
33 lines
643 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", header:".ui-accordion-header"});' },
|
|
{ desc: 'Simple Accordion', source: '$("#accordionDemo").accordion({ header: ".ui-accordion-header"});' }
|
|
]
|
|
}
|
|
]
|
|
|
|
};
|
|
|
|
$(function(){
|
|
|
|
uiRenderDemo(model);
|
|
|
|
});
|
|
|
|
</script> |