From 3909e6d89e01e4cd8777377c63037896bb95aa2f Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 25 Nov 2011 21:18:19 +0100 Subject: new jq layout --- src/main/webapp/jquery-ui-1.9pre/tests/static/static.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/webapp/jquery-ui-1.9pre/tests/static/static.js (limited to 'src/main/webapp/jquery-ui-1.9pre/tests/static/static.js') diff --git a/src/main/webapp/jquery-ui-1.9pre/tests/static/static.js b/src/main/webapp/jquery-ui-1.9pre/tests/static/static.js new file mode 100644 index 0000000..1c29079 --- /dev/null +++ b/src/main/webapp/jquery-ui-1.9pre/tests/static/static.js @@ -0,0 +1,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'); } + ); +}); -- cgit v1.1