aboutsummaryrefslogtreecommitdiffstats
path: root/tests/static/static_helpers.js
blob: 1c29079ef53b84d27bedcf79f7f8ff8dafc73324 (plain)
1
2
3
4
5
6
7
8
9
/* 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'); }
	);
});