]> source.dussan.org Git - jquery-ui.git/commitdiff
Spinner: Added Themeswitcher to visual testpage
authorjzaefferer <joern.zaefferer@gmail.com>
Wed, 1 Dec 2010 21:56:58 +0000 (22:56 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Wed, 1 Dec 2010 21:56:58 +0000 (22:56 +0100)
tests/visual/spinner/spinner.html

index 637e87d71a7c186fe6c310cadce9fde59a571888..dc723a514cfd8b4c48d4445ac4a46a5ee48459f0 100644 (file)
        <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>\r
        <script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>\r
        <script type="text/javascript" src="../../../ui/jquery.ui.spinner.js"></script>\r
+       <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>\r
        <script type="text/javascript">\r
        $(function() {\r
+               $.fn.themeswitcher && $('<div/>').css({\r
+                       position: "absolute",\r
+                       right: 10,\r
+                       top: 10\r
+               }).appendTo(document.body).themeswitcher();\r
+               \r
                $('#spinner').spinner({\r
                        start: function(event, ui) {\r
                                console.log(event.type, ui.value, $(this).spinner("value"));\r