<title>jQuery UI Controlgroup - Default Functionality</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<link rel="stylesheet" href="../demos.css">
- <script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
- $( ".controlgroup" ).controlgroup()
- $( ".controlgroup-vertical" ).controlgroup({
- "direction": "vertical"
- });
- </script>
<style>
.ui-controlgroup-vertical {
width: 150px;
text-align: center;
}
</style>
+ <script src="../../external/requirejs/require.js"></script>
+ <script src="../bootstrap.js" data-modules="button checkboxradio selectmenu">
+ $( ".controlgroup" ).controlgroup()
+ $( ".controlgroup-vertical" ).controlgroup({
+ "direction": "vertical"
+ });
+ </script>
</head>
<body>
<div class="widget">
<title>jQuery UI Controlgroup - Split Button</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<link rel="stylesheet" href="../demos.css">
+ <style>
+ .ui-button-icon-only.demo-splitbutton-select {
+ width: 1em;
+ }
+ </style>
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js" data-modules="button checkboxradio selectmenu">
$( "select" ).selectmenu({
classes: {
- "ui-selectmenu-button": "ui-button-icon-only"
+ "ui-selectmenu-button": "ui-button-icon-only demo-splitbutton-select"
},
change: function(){
$( ".output" ).append( "<li>" + this.value + "</li>" );
<title>jQuery UI Controlgroup - Toolbar</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<link rel="stylesheet" href="../demos.css">
+ <style>
+ .toolbar {
+ font-size: .75em;
+ }
+ .toolbar .ui-selectmenu-button {
+ width: auto;
+ float: left;
+ }
+ #zoom, #fontsize {
+ min-width: 75px;
+ }
+ #input {
+ display: none;
+ }
+ #input, #display {
+ width: 98%;
+ height: 300px;
+ border: 2px inset #ccc;
+ font-size: 11px;
+ font-family: "Lucida Grande";
+ zoom: 100%;
+ padding: 5px;
+ }
+ </style>
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js" data-modules="button checkboxradio selectmenu">
var iframe = $( "<iframe id='display' contenteditable='true'>" ),
});
});
</script>
- <style>
- #zoom, #fontsize {
- min-width: 75px;
- }
- #input {
- display: none;
- }
- #input, #display {
- width: 98%;
- height: 300px;
- border: 2px inset #ccc;
- font-size: 11px;
- font-family: "Lucida Grande";
- zoom: 100%;
- padding: 5px;
- }
- </style>
</head>
<body>
<div class="toolbar">
* jQuery UI Controlgroup @VERSION
* http://jqueryui.com
*
- * Copyright 2014 jQuery Foundation and other contributors
+ * Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
- *
- * http://api.jqueryui.com/controlgroup/
*/
+
+//>>label: Controlgroup
+//>>group: Widgets
+//>>description: Visually groups form control widgets
+//>>docs: http://api.jqueryui.com/controlgroup/
+//>>demos: http://jqueryui.com/controlgroup/
+//>>css.structure: ../themes/base/core.css, ../themes/base/controlgroup.css
+//>>css.theme: ../themes/base/theme.css
+
( function( factory ) {
if ( typeof define === "function" && define.amd ) {