jquery-ui/demos/functional/templates/ui.accordion.html

33 lines
579 B
HTML
Raw Normal View History

<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>