jquery-ui/demos/functional/js/behaviour.functionaldemos.js
Eduardo Lundgren d185e8cc05 - Added functional demo application
- Removed datepicker folder from functional demo folder
2008-06-09 06:20:15 +00:00

13 lines
247 B
JavaScript

$(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(/^#/, ""));
}
});