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/js/behaviour.functionaldemos.js | |
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/js/behaviour.functionaldemos.js')
-rw-r--r-- | demos/functional/js/behaviour.functionaldemos.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/demos/functional/js/behaviour.functionaldemos.js b/demos/functional/js/behaviour.functionaldemos.js new file mode 100644 index 000000000..8e375db28 --- /dev/null +++ b/demos/functional/js/behaviour.functionaldemos.js @@ -0,0 +1,13 @@ +$(document).ready(function() { + + $('.component-links a').click(function() { + var comp = $(this).attr('href').replace(/^#/, ""); + loadDemo(comp); + }); + + // hash listener + if (location.hash) { + loadDemo(location.hash.replace(/^#/, "")); + } + +});
\ No newline at end of file |