From 198d809f9bb8aa5a20181d8b4d0a2f58bbcc4179 Mon Sep 17 00:00:00 2001 From: Ca-Phun Ung Date: Tue, 19 Aug 2008 07:18:04 +0000 Subject: Added enhancements to ui.spinner as seen at http://yelotofu.com/labs/jquery/UI/spinner/spinner.html Enhancements include: - removal of all hardcoded styling for better theming capability - visual test page made more appealing supporting browser zooming - added utility functions to disable, enable and destroy ui.spinner - up/down buttons listens to more mouse and keyboard events - support for decimal and currency format - ui.spinner now restricts input on keydown - cleanup occurs when the input textbox loses focus. this seems to be a better approach for future scalability --- tests/visual/spinner.html | 130 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 114 insertions(+), 16 deletions(-) (limited to 'tests/visual') diff --git a/tests/visual/spinner.html b/tests/visual/spinner.html index 863346c42..b3002ec0f 100644 --- a/tests/visual/spinner.html +++ b/tests/visual/spinner.html @@ -1,37 +1,97 @@ - -Untitled Document + +jQuery UI Spinner Test page - @@ -39,7 +99,45 @@ font-family:"lucida grande", tahoma, verdana, arial, sans-serif; - +

jQuery UI Spinner Test Page

+ +

This is a visual test page for developers and demonstrates some of the features included in ui.spinner. Mousewheel support is provided by the mousewheel plugin.

+ +

+

+ +

+ + + + +

+ +
+ +

+

+ +

+ + + + +

+ +
+ +

+

+ +

+ + + + +

+ +
\ No newline at end of file -- cgit v1.2.3