diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-06-09 06:20:15 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-06-09 06:20:15 +0000 |
commit | d185e8cc05d0b50b4f688e0e2bcba15f39b33f21 (patch) | |
tree | 7506e55c521632320c188453ac343dd2aeded506 /demos/functional/templates/ui.tabs.html | |
parent | a6b0fc7a83504acc327c114e5d5f768194966494 (diff) | |
download | jquery-ui-d185e8cc05d0b50b4f688e0e2bcba15f39b33f21.tar.gz jquery-ui-d185e8cc05d0b50b4f688e0e2bcba15f39b33f21.zip |
- Added functional demo application
- Removed datepicker folder from functional demo folder
Diffstat (limited to 'demos/functional/templates/ui.tabs.html')
-rw-r--r-- | demos/functional/templates/ui.tabs.html | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/demos/functional/templates/ui.tabs.html b/demos/functional/templates/ui.tabs.html new file mode 100644 index 000000000..902ae91bb --- /dev/null +++ b/demos/functional/templates/ui.tabs.html @@ -0,0 +1,54 @@ +<script type="text/javascript"> + + var model = { + + renderAt: '#containerDemo', + + title: 'Tabs Demos', + + demos: [ + + { + title: 'Simple Tabs', + desc: 'With few lines of code you could make tabs. You can try more options on the fly!', + html: { url: 'templates/ui.tabs.ex1.html' }, + destroy: '$("tabsEx1 > ul").tabs("destroy");', + options: [ + { + desc: 'First tab active by default', + source: '$("#tabsEx1 > ul").tabs();' + }, + { + desc: 'Start With Custom Tab', + source: '$("#tabsEx1 > ul").tabs({selected:1});' + }, + { + desc: 'Use a slide effect to switch tabs', + source: '$("#tabsEx1 > ul").tabs({ fx: { height: "toggle" } });' + }, + { + desc: 'Use a fade effect to switch tabs', + source: '$("#tabsEx1 > ul").tabs({ fx: { opacity: "toggle" } });' + }, + { + desc: 'Use a combined slide and fade effect to switch tabs', + source: '$("#tabsEx1 > ul").tabs({ fx: { height: "toggle", opacity: "toggle" } });' + }, + { + desc: 'Define event to switch tabs (mouseover)', + source: '$("#tabsEx1 > ul").tabs({ event: "mouseover" });' + } + ] + } + + ] + + }; + + $(function(){ + + uiRenderDemo(model); + + }); + +</script>
\ No newline at end of file |