aboutsummaryrefslogtreecommitdiffstats
path: root/tests/static/static_helpers.js
diff options
context:
space:
mode:
authorScott Jehl <scott@scottjehl.com>2008-12-09 18:25:09 +0000
committerScott Jehl <scott@scottjehl.com>2008-12-09 18:25:09 +0000
commitdfc6effcd89335c6068417cddb18861ee8d47dd6 (patch)
treeea1b93f07589c87df596f05fb9029eed57d25157 /tests/static/static_helpers.js
parentd270bbff8181bd3df4f27f112f0e4158f886c588 (diff)
downloadjquery-ui-dfc6effcd89335c6068417cddb18861ee8d47dd6.tar.gz
jquery-ui-dfc6effcd89335c6068417cddb18861ee8d47dd6.zip
added hover states to static pages.
Diffstat (limited to 'tests/static/static_helpers.js')
-rw-r--r--tests/static/static_helpers.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/static/static_helpers.js b/tests/static/static_helpers.js
new file mode 100644
index 000000000..2d890d5f4
--- /dev/null
+++ b/tests/static/static_helpers.js
@@ -0,0 +1,7 @@
+$(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'); }
+ );
+}); \ No newline at end of file