jquery-ui/tests/static/static_helpers.js
2008-12-09 18:25:09 +00:00

7 lines
339 B
JavaScript

$(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'); }
);
});