jquery-ui/tests/static/static_helpers.js

10 lines
365 B
JavaScript
Raw Normal View History

/* static_helpers.js
*/
2008-12-09 18:25:09 +00:00
$(function(){
//add hover states on the static widgets
$('.ui-state-default:not(.ui-state-disabled, .ui-slider-range, .ui-progressbar-value), a.ui-datepicker-next, a.ui-datepicker-prev, .ui-dialog-titlebar-close').hover(
function(){ $(this).addClass('ui-state-hover'); },
function(){ $(this).removeClass('ui-state-hover'); }
);
2008-12-12 02:23:03 +00:00
});