diff --git a/demos/accordion/custom_icons.html b/demos/accordion/custom_icons.html index d9c56645253..65ab3c9128a 100644 --- a/demos/accordion/custom_icons.html +++ b/demos/accordion/custom_icons.html @@ -63,7 +63,7 @@

Section 4

The icons used for the open and closed accordions can be any of the standard icons in the css framework or even a custom css class you create with an icon background image. For this example, we're using the arrow in a circle icons: -

	
+
 icons: {
 header: "ui-icon-circle-arrow-e",
 headerSelected: "ui-icon-circle-arrow-s"}
diff --git a/demos/datepicker/inline.html b/demos/datepicker/inline.html
index 2ff26e32e08..8e7f2d5c321 100644
--- a/demos/datepicker/inline.html
+++ b/demos/datepicker/inline.html
@@ -1,25 +1,25 @@
-
-
-
-	jQuery UI Datepicker - Inline Demo
-	
-	
-	
-	
-	
-	
-
-
-
-
-
- -Date:
- + + + + jQuery UI Datepicker - Inline Demo + + + + + + + + + + +
+ +Date:
+
@@ -28,7 +28,7 @@

This is an example of an inline date picker that is embedded in the page instead of opening in an overlay. This is done by calling .datepicker() in a div instead of an input.

-
- - - + + + + diff --git a/demos/demos.css b/demos/demos.css index 250c875fcb8..4541b8adf3a 100644 --- a/demos/demos.css +++ b/demos/demos.css @@ -110,7 +110,7 @@ body { border-color: #BBBBBB; } -/* new styles for demo pages, added by Filament 12.29.08 +/* new styles for demo pages, added by Filament 12.29.08 eventually we should convert the font sizes to ems -- using px for now to minimize style conflicts */ @@ -132,16 +132,16 @@ eventually we should convert the font sizes to ems -- using px for now to minimi #demo-config-menu li { font-size:11px; padding:0 0 0 10px; margin:3px 0; zoom: 1; } -#demo-config-menu li a:link, +#demo-config-menu li a:link, #demo-config-menu li a:visited { display:block; padding:2px 8px 3px; border-bottom:1px dotted #b3b3b3; } -#demo-config-menu li a:hover, +#demo-config-menu li a:hover, #demo-config-menu li a:active { background-color:#f6f6f6; } #demo-config-menu li.demo-config-on { background: url(images/demo-config-on-tile.gif) repeat-x left center; } -#demo-config-menu li.demo-config-on a:link, -#demo-config-menu li.demo-config-on a:visited, -#demo-config-menu li.demo-config-on a:hover, +#demo-config-menu li.demo-config-on a:link, +#demo-config-menu li.demo-config-on a:visited, +#demo-config-menu li.demo-config-on a:hover, #demo-config-menu li.demo-config-on a:active { background: url(images/demo-config-on.gif) no-repeat left; padding-left:18px; color:#fff; border:0; margin-left:-10px; } #demo-source, #demo-notes { @@ -168,13 +168,13 @@ eventually we should convert the font sizes to ems -- using px for now to minimi #demo-source a.source-closed:hover, #demo-source a.source-closed:active { background-image: url(images/demo-spindown-closed.gif); } -div.demo { - padding:12px; +div.demo { + padding:12px; font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif"; } -div.demo-description { - padding:12px; +div.demo-description { + padding:12px; font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif"; font-size: 1.3em; line-height: 1.4em; diff --git a/demos/dialog/default.html b/demos/dialog/default.html index ebef1426e08..de5570f5429 100644 --- a/demos/dialog/default.html +++ b/demos/dialog/default.html @@ -22,7 +22,7 @@

This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.

- +

Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

diff --git a/demos/dialog/modal.html b/demos/dialog/modal.html index a06451b5e31..84e998e4392 100644 --- a/demos/dialog/modal.html +++ b/demos/dialog/modal.html @@ -1,36 +1,36 @@ - - - - jQuery UI Dialog - Modal Demo - - - - - - - - + + + + + - - - + }); + }); + + + +

Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.

- +

Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

@@ -55,7 +55,7 @@

This is identical to the default dialog except a semi-transparent overlay layer is added as an option to make this look more modal and dim out the page content behind it to bring the user's attention to the dialog.

The dialog window can be moved, resized and closed with the 'x' icon.

- - - - + + + + diff --git a/demos/dialog/modal_confirmation.html b/demos/dialog/modal_confirmation.html index 44566622bf6..670131a383e 100644 --- a/demos/dialog/modal_confirmation.html +++ b/demos/dialog/modal_confirmation.html @@ -1,16 +1,16 @@ - - - - jQuery UI Dialog - Modal Confirmation Demo - - - - - - - - + + + + + - - + }); + }); + + +

These items will be permanently deleted and cannot be recovered. Are you sure?

- +

Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

@@ -63,7 +63,7 @@

This type of dialog adds a button bar and is useful for confirming an action that may be destructive or important. These are typically displayed as modal dialogs to get the user's attention and force a decision before continuing. This example uses the an icon from the css sprite set and is set to be not resizable by setting this option to false.

- - - - + + + + diff --git a/demos/dialog/modal_form.html b/demos/dialog/modal_form.html index e272ad826eb..33894226f6f 100644 --- a/demos/dialog/modal_form.html +++ b/demos/dialog/modal_form.html @@ -1,17 +1,17 @@ - - - - jQuery UI Dialog - Modal Form Demo - - - - - - - - + + + + + - - - - - - - - - - + + + + + + +
-
-

All form fields are required.

- -
+
+

All form fields are required.

+ +
- +
- +
- +

Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

@@ -84,6 +84,6 @@

This is an example of how a dialog can be used for data entry by making it larger and embedding a form into the content area. A multi-step wizard could be created by extending this with a step navigation and forward and back buttons.

- - - + + + diff --git a/demos/dialog/modal_message.html b/demos/dialog/modal_message.html index 721de93495e..5f476932cc2 100644 --- a/demos/dialog/modal_message.html +++ b/demos/dialog/modal_message.html @@ -1,17 +1,17 @@ - - - - jQuery UI Dialog - Modal Message Demo - - - - - - - - + + + + + - - - -
-

Your files have downloaded successfully into the My Downloads folder.

-

Currently using 36% of your storage space.

-
- - + }); + }); + + + + +
+

Your files have downloaded successfully into the My Downloads folder.

+

Currently using 36% of your storage space.

+
+ +

This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.

- +

Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

@@ -61,9 +61,9 @@
-

A modal message dialog like this is useful for providing information to the user that requires them to explicitly acknowledge before continuing with their work.

This example adds a button bar with a single 'Ok' button to dismiss the dialog.

+

A modal message dialog like this is useful for providing information to the user that requires them to explicitly acknowledge before continuing with their work.

This example adds a button bar with a single 'Ok' button to dismiss the dialog.

- - - + + + diff --git a/demos/draggable/zindexstack.html b/demos/draggable/zindexstack.html index d21c0bff4f9..102a647641c 100644 --- a/demos/draggable/zindexstack.html +++ b/demos/draggable/zindexstack.html @@ -28,11 +28,11 @@

We are draggables..

- +

..whose z-indexes are controlled automatically..

- +

..with the stack option.

diff --git a/demos/droppable/accept.html b/demos/droppable/accept.html index f2b02ba93d3..e49a250ff07 100644 --- a/demos/droppable/accept.html +++ b/demos/droppable/accept.html @@ -14,9 +14,9 @@ diff --git a/demos/droppable/activeclass.html b/demos/droppable/activeclass.html index 90a8b6cc9df..9c97d3ea38f 100644 --- a/demos/droppable/activeclass.html +++ b/demos/droppable/activeclass.html @@ -22,7 +22,7 @@ $(this).addClass('ui-state-highlight').find('p').html('Dropped!'); } }); - + }); diff --git a/demos/droppable/default.html b/demos/droppable/default.html index 50f0a0877a3..051636a1c7b 100644 --- a/demos/droppable/default.html +++ b/demos/droppable/default.html @@ -20,7 +20,7 @@ $(this).addClass('ui-state-highlight').find('p').html('Dropped!'); } }); - + }); diff --git a/demos/droppable/greedy.html b/demos/droppable/greedy.html index ab5e63b3b84..d4bdb3fb97c 100644 --- a/demos/droppable/greedy.html +++ b/demos/droppable/greedy.html @@ -15,9 +15,9 @@ diff --git a/demos/droppable/hoverclass.html b/demos/droppable/hoverclass.html index 3e8e30ed297..be6e9f9b8cf 100644 --- a/demos/droppable/hoverclass.html +++ b/demos/droppable/hoverclass.html @@ -21,7 +21,7 @@ $(this).addClass('ui-state-highlight').find('p').html('Dropped!'); } }); - + }); diff --git a/demos/droppable/revert.html b/demos/droppable/revert.html index 0f181ce1c20..56a3ea369df 100644 --- a/demos/droppable/revert.html +++ b/demos/droppable/revert.html @@ -14,10 +14,10 @@ diff --git a/demos/droppable/tolerance.html b/demos/droppable/tolerance.html index d49cfcfddff..b0278c6ef21 100644 --- a/demos/droppable/tolerance.html +++ b/demos/droppable/tolerance.html @@ -14,9 +14,9 @@ diff --git a/demos/index.html b/demos/index.html index 4d13e0ce591..6a3a5212b66 100644 --- a/demos/index.html +++ b/demos/index.html @@ -41,18 +41,18 @@ $('#demo-notes').hide(); }); }); - + $('#demo-frame').load(function() { var content = $(this)[0].contentWindow.document || $(this).contents()[0]; var notes = $('.demo-description', content); if ($('#demo-notes').length == 0) { $('
').insertAfter('#demo-config'); - } + } $('#demo-notes').hide().empty().html(notes.html()); $('#demo-notes').fadeIn(); notes.hide(); }); - + if ($('#demo-frame .demo-description:visible')) $('#demo-frame').trigger('load'); }) @@ -62,7 +62,7 @@ ev.preventDefault(); }); }); - + @@ -76,7 +76,7 @@
Droppable
Resizable
Selectable
-
Sortable
+
Sortable
Widgets
Accordion
Datepicker
@@ -91,17 +91,17 @@ - +
- +

Instructions

These demos showcase some common uses of each jQuery UI plugin. Simply copy and paste code from the demos to get started. Have fun playing with them.

- + diff --git a/demos/progressbar/default.html b/demos/progressbar/default.html index 5a53999a7d0..012e18f07b6 100644 --- a/demos/progressbar/default.html +++ b/demos/progressbar/default.html @@ -20,7 +20,7 @@
- +
diff --git a/demos/progressbar/index.html b/demos/progressbar/index.html index 2e56e6ab741..171e0495f6e 100644 --- a/demos/progressbar/index.html +++ b/demos/progressbar/index.html @@ -8,7 +8,7 @@

Examples

-
    + diff --git a/demos/progressbar/resize.html b/demos/progressbar/resize.html index 360070a8c7a..e96938f7556 100644 --- a/demos/progressbar/resize.html +++ b/demos/progressbar/resize.html @@ -24,7 +24,7 @@
    - +
    diff --git a/demos/resizable/alsoresize.html b/demos/resizable/alsoresize.html index ad34c6c00d0..985c62beed4 100644 --- a/demos/resizable/alsoresize.html +++ b/demos/resizable/alsoresize.html @@ -1,35 +1,35 @@ - - - - jQuery UI Resizable - Also Resize Demo - - - - - - - + + + + - - - -
    -

    Resize me

    -
    + }); + $("#also").resizable(); + }); + + + + +
    +

    Resize me

    +

    I will resize with the other div. I can also be resized independently.

    - - - + + + diff --git a/demos/resizable/animate.html b/demos/resizable/animate.html index fa8117fc39f..1944192c8af 100644 --- a/demos/resizable/animate.html +++ b/demos/resizable/animate.html @@ -1,29 +1,29 @@ - - - - jQuery UI Resizable - Animate Demo - - - - - - - + + + + - - + }); + }); + + + -
    -

    Resize me

    -
    - - - +
    +

    Resize me

    +
    + + + diff --git a/demos/resizable/aspectratio.html b/demos/resizable/aspectratio.html index f38cb247497..bbcb05bd3a1 100644 --- a/demos/resizable/aspectratio.html +++ b/demos/resizable/aspectratio.html @@ -1,28 +1,28 @@ - - - - jQuery UI Resizable - Aspect Ratio Demo - - - - - - - + + + + - - + }); + }); + + + -
    -

    Resize me

    -
    - - - +
    +

    Resize me

    +
    + + + diff --git a/demos/resizable/containment.html b/demos/resizable/containment.html index 15abea55f3e..abab897362b 100644 --- a/demos/resizable/containment.html +++ b/demos/resizable/containment.html @@ -1,33 +1,33 @@ - - - - jQuery UI Resizable - Containment Demo - - - - - - - + + + + - - + }); + }); + + + -
    +

    Container

    -
    -

    Resize me

    -
    +
    +

    Resize me

    +
    - - - + + + diff --git a/demos/resizable/delay.html b/demos/resizable/delay.html index 7f79302217e..bf686eec910 100644 --- a/demos/resizable/delay.html +++ b/demos/resizable/delay.html @@ -1,28 +1,28 @@ - - - - jQuery UI Resizable - Delay Demo - - - - - - - + + + + - - + }); + }); + + + -
    -

    Resize me

    -
    - - - +
    +

    Resize me

    +
    + + + diff --git a/demos/resizable/distance.html b/demos/resizable/distance.html index 26a3c62ce6a..f8c4ba8ca56 100644 --- a/demos/resizable/distance.html +++ b/demos/resizable/distance.html @@ -1,28 +1,28 @@ - - - - jQuery UI Resizable - Distance Demo - - - - - - - + + + + - - + }); + }); + + + -
    -

    Resize me

    -
    - - - +
    +

    Resize me

    +
    + + + diff --git a/demos/resizable/ghost.html b/demos/resizable/ghost.html index a84f1f27018..4c7b1c7f741 100644 --- a/demos/resizable/ghost.html +++ b/demos/resizable/ghost.html @@ -1,29 +1,29 @@ - - - - jQuery UI Resizable - Ghost Demo - - - - - - - + + + + - - + }); + }); + + + -
    -

    Resize me

    -
    - - - +
    +

    Resize me

    +
    + + + diff --git a/demos/resizable/grid.html b/demos/resizable/grid.html index db5d15b403d..2cd5badc6dc 100644 --- a/demos/resizable/grid.html +++ b/demos/resizable/grid.html @@ -1,28 +1,28 @@ - - - - jQuery UI Resizable - Grid Demo - - - - - - - + + + + - - + }); + }); + + + -
    -

    Resize me

    -
    - - - +
    +

    Resize me

    +
    + + + diff --git a/demos/resizable/max.html b/demos/resizable/max.html index 175c7dc5edf..24b38240086 100644 --- a/demos/resizable/max.html +++ b/demos/resizable/max.html @@ -1,29 +1,29 @@ - - - - jQuery UI Resizable - Max Height / Width Demo - - - - - - - + + + + - - + }); + }); + + + -
    -

    Resize me

    -
    - - - +
    +

    Resize me

    +
    + + + diff --git a/demos/resizable/min.html b/demos/resizable/min.html index 95775f41caa..2e9606bbdd3 100644 --- a/demos/resizable/min.html +++ b/demos/resizable/min.html @@ -1,29 +1,29 @@ - - - - jQuery UI Resizable - Min Height / Width Demo - - - - - - - + + + + - - + }); + }); + + + -
    -

    Resize me

    -
    - - - +
    +

    Resize me

    +
    + + + diff --git a/demos/slider/range.html b/demos/slider/range.html index f86ef23d430..97c3933a12c 100644 --- a/demos/slider/range.html +++ b/demos/slider/range.html @@ -32,10 +32,10 @@
    -

    Example of a range slider that had two drag handles and a filled bar that connects the two handles to indicate that the values between them are selected. THis is created by setting the range option:

    +

    Example of a range slider that had two drag handles and a filled bar that connects the two handles to indicate that the values between them are selected. THis is created by setting the range option:

     range: true,
    -
    +
diff --git a/demos/slider/range_vertical.html b/demos/slider/range_vertical.html index 17bdd692086..e2824348eaf 100644 --- a/demos/slider/range_vertical.html +++ b/demos/slider/range_vertical.html @@ -30,12 +30,12 @@
-

This is an example of a vertical range slider created by setting the orientation to vertical:

+

This is an example of a vertical range slider created by setting the orientation to vertical:

 orientation: "vertical",
 range: true,
 values: [17, 67]
-
+

It's important to note that a vertical slider needs a height set. You can do this via the script options or by adding a height through CSS.

diff --git a/demos/slider/rangemax.html b/demos/slider/rangemax.html index c87f36f22f9..1d610680bda 100644 --- a/demos/slider/rangemax.html +++ b/demos/slider/rangemax.html @@ -34,10 +34,10 @@
-

An example of a range slider that has the filled bar hard-coded to the maximum value plus a single slider. This makes it clear that selecting a value will also include all values above the selection. This is a range option type:

+

An example of a range slider that has the filled bar hard-coded to the maximum value plus a single slider. This makes it clear that selecting a value will also include all values above the selection. This is a range option type:

 range: "max",
-
+

This demo also shows how the current slider value can be used to populate a standard form input that can also be used for user feedback.

diff --git a/demos/slider/rangemin.html b/demos/slider/rangemin.html index b8496df0159..6d19521d8c5 100644 --- a/demos/slider/rangemin.html +++ b/demos/slider/rangemin.html @@ -34,10 +34,10 @@
-

An example of a range slider that has the filled bar hard-coded to the minimum value plus a single slider. This makes it clear that selecting a value will also include all values below the selection. This is a range option type:

+

An example of a range slider that has the filled bar hard-coded to the minimum value plus a single slider. This makes it clear that selecting a value will also include all values below the selection. This is a range option type:

 range: "min",
-
+

This demo also shows how the current slider value can be used to populate a standard form input that can also be used for user feedback.

diff --git a/demos/slider/slider_vertical.html b/demos/slider/slider_vertical.html index 875addb10ae..e9ef91d729f 100644 --- a/demos/slider/slider_vertical.html +++ b/demos/slider/slider_vertical.html @@ -12,8 +12,8 @@ $("#slider-vertical").slider({ orientation: "vertical", range: "min", - min: 0, - max: 100, + min: 0, + max: 100, value: 60, slide: function(event, ui) { $("#amount").val(ui.value); @@ -36,7 +36,7 @@
-

This is an example of a minimum range vertical slider created by setting the orientation to vertical:

orientation: "vertical",
+

This is an example of a minimum range vertical slider created by setting the orientation to vertical:

orientation: "vertical",

It's important to note that a vertical slider needs a height set. You can do this via the script options or by adding a height through CSS.

This demo also shows how the current slider value can be used to populate a standard form input that can also be used for user feedback.

diff --git a/demos/slider/steps.html b/demos/slider/steps.html index efb3da30319..97aeee331be 100644 --- a/demos/slider/steps.html +++ b/demos/slider/steps.html @@ -35,7 +35,7 @@

This slider has a step value set that will only allow for increments of 50 to be selected. The default step increment is 1. The drag handle will snap to drop points every 50 units. This is set in an option called step:

-
			
+
 min: 0, max: 500, step: 50
 

This demo also shows how the current slider value can be used to populate a standard form input that can also be used for user feedback.

diff --git a/demos/sortable/delaydistance.html b/demos/sortable/delaydistance.html index 19695d9bf7f..096c1d58217 100644 --- a/demos/sortable/delaydistance.html +++ b/demos/sortable/delaydistance.html @@ -13,15 +13,15 @@ diff --git a/demos/sortable/droponempty.html b/demos/sortable/droponempty.html index 6d1a9b95ca0..a48e8e932d7 100644 --- a/demos/sortable/droponempty.html +++ b/demos/sortable/droponempty.html @@ -16,7 +16,7 @@ $("ul.droptrue").sortable({ connectWith: ['ul'] }); - + $("ul.dropfalse").sortable({ connectWith: ['ul'], dropOnEmpty: false diff --git a/demos/sortable/items.html b/demos/sortable/items.html index ac08a07919f..078af9990de 100644 --- a/demos/sortable/items.html +++ b/demos/sortable/items.html @@ -16,7 +16,7 @@ $("ul:eq(0)").sortable({ items: 'li:not(.ui-state-disabled)' }); - + $("ul:eq(1)").sortable({ cancel: '.ui-state-disabled' });