Skip to content
Permalink
Browse files

Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, to…

…oltip, menu; including menu static tests).
  • Loading branch information...
scottgonzalez committed Jan 7, 2010
1 parent 975b02a commit 90fb45dffafc2e891b1ebca948ad33e6b94de112
Showing with 3,220 additions and 1,750 deletions.
  1. +46 −0 demos/button/checkbox.html
  2. +43 −0 demos/button/default.html
  3. +62 −0 demos/button/icons.html
  4. +22 −0 demos/button/index.html
  5. +45 −0 demos/button/radio.html
  6. +57 −0 demos/button/splitbutton.html
  7. +123 −0 demos/button/toolbar.html
  8. +33 −33 demos/datepicker/other-months.html
  9. +35 −35 demos/datepicker/show-week.html
  10. +1 −1 demos/dialog/animated.html
  11. +1 −1 demos/dialog/default.html
  12. +1 −0 demos/dialog/modal-confirmation.html
  13. +7 −25 demos/dialog/modal-form.html
  14. +1 −0 demos/dialog/modal-message.html
  15. +2 −0 demos/index.html
  16. +7 −8 demos/position/cycler.html
  17. +5 −4 demos/position/default.html
  18. +1 −1 demos/slider/multiple-vertical.html
  19. +66 −66 demos/slider/tabs.html
  20. +59 −59 demos/tabs/bottom.html
  21. +7 −8 demos/tabs/manipulation.html
  22. +96 −96 external/jquery.cookie-r6165.js
  23. +122 −0 external/jquery.metadata.js
  24. +150 −150 tests/jquery.simulate.js
  25. +129 −0 tests/static/button/default.html
  26. +38 −0 tests/static/menu/default.html
  27. +1 −1 tests/unit/accordion/accordion_core.js
  28. +7 −6 tests/unit/accordion/accordion_options.js
  29. +56 −0 tests/unit/button/button.html
  30. +70 −0 tests/unit/button/button_core.js
  31. +15 −0 tests/unit/button/button_defaults.js
  32. +17 −0 tests/unit/button/button_events.js
  33. +15 −0 tests/unit/button/button_methods.js
  34. +69 −0 tests/unit/button/button_options.js
  35. +10 −0 tests/unit/button/button_tickets.js
  36. +0 −36 tests/unit/core/core.js
  37. +5 −0 tests/unit/datepicker/datepicker_core.js
  38. +5 −0 tests/unit/dialog/dialog_core.js
  39. +333 −333 tests/unit/position/position_core.js
  40. +6 −58 tests/unit/testsuite.js
  41. +24 −0 tests/unit/widget/widget.html
  42. +168 −0 tests/unit/widget/widget.js
  43. +51 −51 tests/visual/accordion/accordion_option_fillSpace_true.html
  44. +74 −74 tests/visual/accordion/accordion_ticket_4322.html
  45. +50 −50 tests/visual/accordion/accordion_ticket_4444.html
  46. +137 −0 tests/visual/button/default.html
  47. +1 −1 tests/visual/dialog/dialog_option_modal_false.html
  48. +1 −1 tests/visual/dialog/dialog_option_modal_true.html
  49. +1 −0 tests/visual/index.html
  50. +53 −53 tests/visual/sortable/sortable_ticket_4551.html
  51. BIN themes/base/images/ui-anim.basic.16x16.gif
  52. +1 −0 themes/base/ui.base.css
  53. +35 −0 themes/base/ui.button.css
  54. +2 −0 themes/base/ui.theme.css
  55. +22 −22 ui/i18n/jquery.ui.datepicker-eu.js
  56. +22 −22 ui/i18n/jquery.ui.datepicker-fr-CH.js
  57. +23 −23 ui/i18n/jquery.ui.datepicker-vi.js
  58. +20 −21 ui/jquery.ui.accordion.js
  59. +247 −0 ui/jquery.ui.button.js
  60. +6 −1 ui/jquery.ui.datepicker.js
  61. +53 −61 ui/jquery.ui.dialog.js
  62. +30 −31 ui/jquery.ui.draggable.js
  63. +13 −13 ui/jquery.ui.droppable.js
  64. +7 −9 ui/jquery.ui.mouse.js
  65. +217 −227 ui/jquery.ui.position.js
  66. +8 −9 ui/jquery.ui.progressbar.js
  67. +21 −22 ui/jquery.ui.resizable.js
  68. +10 −11 ui/jquery.ui.selectable.js
  69. +16 −17 ui/jquery.ui.slider.js
  70. +28 −28 ui/jquery.ui.sortable.js
  71. +22 −23 ui/jquery.ui.tabs.js
  72. +89 −59 ui/jquery.ui.widget.js
@@ -0,0 +1,46 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Button - Checkboxes demo</title>
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#check").button();
$("#format").buttonset();
});
</script>
<style>
#format { margin-top: 2em; }
</style>
</head>
<body>

<div class="demo">

<input type="checkbox" id="check" /><label for="check">Toggle</label>

<div id="format">
<input type="checkbox" id="check1" /><label for="check1">B</label>
<input type="checkbox" id="check2" /><label for="check2">I</label>
<input type="checkbox" id="check3" /><label for="check3">U</label>
</div>

</div><!-- End demo -->



<div class="demo-description">

<p>TODO</p>

</div><!-- End demo-description -->



</body>
</html>
@@ -0,0 +1,43 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Button - Default demo</title>
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("button, input:submit, a").button();
});
</script>
<style>
</style>
</head>
<body>

<div class="demo">

<button>A button element</button>

<input type="submit" value="A submit button">

<a href="#">An anchor</a>

</div><!-- End demo -->



<div class="demo-description">

<p>Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.</p>

</div><!-- End demo-description -->



</body>
</html>
@@ -0,0 +1,62 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Button - Icons demo</title>
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("button:first").button({
icons: {
primary: 'ui-icon-locked'
},
text: false
}).next().button({
icons: {
primary: 'ui-icon-locked'
}
}).next().button({
icons: {
primary: 'ui-icon-gear',
secondary: 'ui-icon-triangle-1-s'
}
}).next().button({
icons: {
primary: 'ui-icon-gear',
secondary: 'ui-icon-triangle-1-s'
},
text: false
});
});
</script>
<style>
</style>
</head>
<body>

<div class="demo">

<button>Button with icon only</button>
<button>Button with icon on the left</button>
<button>Button with two icons</button>
<button>Button with two icons and no text</button>

</div><!-- End demo -->



<div class="demo-description">

<p>Some buttons with various combinations of text and icons, here specified via metadata.</p>

</div><!-- End demo-description -->



</body>
</html>
@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Button Demos</title>
<link type="text/css" href="../demos.css" rel="stylesheet" />
</head>
<body>

<div class="demos-nav">
<h4>Examples</h4>
<ul>
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
<li><a href="radio.html">Radios</a></li>
<li><a href="checkbox.html">Checkboxes</a></li>
<li><a href="icons.html">Icons</a></li>
<li><a href="toolbar.html">Toolbar</a></li>
<li><a href="splitbutton.html">Split Button</a></li>
</ul>
</div>

</body>
</html>
@@ -0,0 +1,45 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Button - Radio Buttons demo</title>
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#radio1").buttonset();
});
</script>
<style>
</style>
</head>
<body>

<div class="demo">

<form>
<div id="radio1">
<input type="radio" id="radio1" name="radio" /><label for="radio1">Choice 1</label>
<input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice 2</label>
<input type="radio" id="radio3" name="radio" /><label for="radio3">Choice 3</label>
</div>
</form>

</div><!-- End demo -->



<div class="demo-description">

<p>A set of three radio buttons transformed into a button set.</p>

</div><!-- End demo-description -->



</body>
</html>
@@ -0,0 +1,57 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Button - Default demo</title>
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$("#rerun").button().click(function() {
alert("Running the last action");
})
.next()
.button({
text: false,
icons: {
primary: "ui-icon-triangle-1-s"
}
})
.click(function() {
alert("Could display a menu to select an action");
})
.parent()
.buttonset();
});
</script>
<style>
</style>
</head>
<body>

<div class="demo">

<div>
<button id="rerun">Run last action</button>
<button id="select">Select an action</button>
</div>

</div><!-- End demo -->



<div class="demo-description">

<p>An example of a split button built with two buttons: A plan button with just text, one with only a primary icon
and no text. Both are grouped together in a set.</p>

</div><!-- End demo-description -->



</body>
</html>

0 comments on commit 90fb45d

Please sign in to comment.
You can’t perform that action at this time.