From: Scott González Date: Fri, 10 Sep 2010 02:43:06 +0000 (-0400) Subject: Button demos: Coding standards. X-Git-Tag: 1.8.5~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8b4d1877465d92de68c83a92b9c2eee2a5e096fa;p=jquery-ui.git Button demos: Coding standards. --- diff --git a/demos/button/checkbox.html b/demos/button/checkbox.html index b6192ee28..1d44743e8 100644 --- a/demos/button/checkbox.html +++ b/demos/button/checkbox.html @@ -1,49 +1,44 @@ - - jQuery UI Button - Checkboxes demo - - - - - - - + + + + +
- - -
- - - -
+ + +
+ + + +
-

A checkbox is styled as a toggle button with the button widget. The label element associated with the checkbox is used for the button text.

-

This demo also demonstrates three checkboxes styled as a button set by calling .buttonset() on a common container.

-
- - diff --git a/demos/button/default.html b/demos/button/default.html index 700c64bcc..a42565744 100644 --- a/demos/button/default.html +++ b/demos/button/default.html @@ -1,46 +1,38 @@ - - jQuery UI Button - Default demo - - - - - - - + + + + + -
- - - - - An anchor + + + + +An anchor
-

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

-
- - diff --git a/demos/button/icons.html b/demos/button/icons.html index 2dc11c5d8..c57f40c15 100644 --- a/demos/button/icons.html +++ b/demos/button/icons.html @@ -1,63 +1,56 @@ - - jQuery UI Button - Icons demo - - - - - - - + + + + + -
- - - - + + + +
-

Some buttons with various combinations of text and icons, here specified via metadata.

-
- - diff --git a/demos/button/index.html b/demos/button/index.html index c2b37200d..23977c820 100644 --- a/demos/button/index.html +++ b/demos/button/index.html @@ -1,9 +1,9 @@ - + jQuery UI Button Demos - + diff --git a/demos/button/radio.html b/demos/button/radio.html index 3e5dc2379..62bab21a0 100644 --- a/demos/button/radio.html +++ b/demos/button/radio.html @@ -1,46 +1,39 @@ - - jQuery UI Button - Radio Buttons demo - - - - - - - + + + + + -
-
-
- - - -
-
+
+
+ + + +
+
-

A set of three radio buttons transformed into a button set.

-
- - diff --git a/demos/button/splitbutton.html b/demos/button/splitbutton.html index 7e4d66038..e1faa12af 100644 --- a/demos/button/splitbutton.html +++ b/demos/button/splitbutton.html @@ -1,33 +1,33 @@ - - jQuery UI Button - Default demo - - - - - - - + + + + + - @@ -88,37 +88,33 @@
- - - - - - - - - - - - - - - + + + + + + + + + + + + + + +
-

A mediaplayer toolbar. Take a look at the underlying markup: A few button elements, an input of type checkbox for the Shuffle button, and three inputs of type radio for the Repeat options.

-
- -