diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-12-01 22:56:58 +0100 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-12-01 22:56:58 +0100 |
commit | 13f931078343d7a1dd96090c3151a58fc647ea37 (patch) | |
tree | 97af28a893140c82c7766242535ab3dd0c33f89c /tests/visual | |
parent | aa59bdf70096fb8ae123b011ca3c6c083efbd410 (diff) | |
download | jquery-ui-13f931078343d7a1dd96090c3151a58fc647ea37.tar.gz jquery-ui-13f931078343d7a1dd96090c3151a58fc647ea37.zip |
Spinner: Added Themeswitcher to visual testpage
Diffstat (limited to 'tests/visual')
-rw-r--r-- | tests/visual/spinner/spinner.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/visual/spinner/spinner.html b/tests/visual/spinner/spinner.html index 637e87d71..dc723a514 100644 --- a/tests/visual/spinner/spinner.html +++ b/tests/visual/spinner/spinner.html @@ -10,8 +10,15 @@ <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.spinner.js"></script>
+ <script type="text/javascript" src="http://jqueryui.com/themeroller/themeswitchertool/"></script>
<script type="text/javascript">
$(function() {
+ $.fn.themeswitcher && $('<div/>').css({
+ position: "absolute",
+ right: 10,
+ top: 10
+ }).appendTo(document.body).themeswitcher();
+
$('#spinner').spinner({
start: function(event, ui) {
console.log(event.type, ui.value, $(this).spinner("value"));
|