jquery-ui/tests/static/static_helpers.js
2008-12-12 02:31:34 +00:00

10 lines
365 B
JavaScript

/* static_helpers.js
*/
$(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'); }
);
});