Permalink
Browse files

demos: fixed demo descriptions to use CODE for option names instead o…

…f STRONG
  • Loading branch information...
rdworth committed Jan 28, 2009
1 parent ca2f019 commit 62b7c8eda897691d3031bf2b6a2a52c167c68e96
Showing with 48 additions and 48 deletions.
  1. +1 −1 demos/accordion/collapsible.html
  2. +1 −1 demos/accordion/custom-icons.html
  3. +1 −1 demos/accordion/fillspace.html
  4. +1 −1 demos/accordion/mouseover.html
  5. +1 −1 demos/datepicker/alt-field.html
  6. +1 −1 demos/datepicker/buttonbar.html
  7. +1 −1 demos/datepicker/dropdown-month-year.html
  8. +1 −1 demos/datepicker/min-max.html
  9. +1 −1 demos/datepicker/multiple-calendars.html
  10. +1 −1 demos/demos.css
  11. +1 −1 demos/dialog/modal-confirmation.html
  12. +1 −1 demos/dialog/modal-form.html
  13. +1 −1 demos/dialog/modal-message.html
  14. +1 −1 demos/dialog/modal.html
  15. +1 −1 demos/draggable/constrain-movement.html
  16. +1 −1 demos/draggable/cursor-style.html
  17. +1 −1 demos/draggable/delay-start.html
  18. +1 −1 demos/draggable/events.html
  19. +2 −2 demos/draggable/handle.html
  20. +1 −1 demos/draggable/revert.html
  21. +1 −1 demos/draggable/scroll.html
  22. +2 −2 demos/draggable/snap-to.html
  23. +2 −2 demos/draggable/visual-feedback.html
  24. +1 −1 demos/droppable/accepted-elements.html
  25. +1 −1 demos/droppable/propagation.html
  26. +1 −1 demos/droppable/revert.html
  27. +1 −1 demos/droppable/visual-feedback.html
  28. +1 −1 demos/resizable/animate.html
  29. +1 −1 demos/resizable/aspect-ratio.html
  30. +1 −1 demos/resizable/constrain-area.html
  31. +1 −1 demos/resizable/delay-start.html
  32. +1 −1 demos/resizable/max-min.html
  33. +1 −1 demos/resizable/snap-to-grid.html
  34. +1 −1 demos/resizable/synchronous-resize.html
  35. +1 −1 demos/resizable/visual-feedback.html
  36. +1 −1 demos/selectable/serialize.html
  37. +1 −1 demos/slider/range-vertical.html
  38. +1 −1 demos/slider/range.html
  39. +1 −1 demos/slider/rangemax.html
  40. +1 −1 demos/slider/rangemin.html
  41. +1 −1 demos/slider/slider-vertical.html
  42. +1 −1 demos/slider/steps.html
  43. +1 −1 demos/sortable/default.html
  44. +1 −1 demos/tabs/collapsible.html
  45. +1 −1 demos/tabs/mouseover.html
@@ -58,7 +58,7 @@ <h3><a href="#">Section 4</a></h3>
<div class="demo-description">
-<p>By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the <strong>alwaysOpen</strong> option to false. Click on the currently open section to collapse its content pane.</p>
+<p>By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the <code>alwaysOpen</code> option to false. Click on the currently open section to collapse its content pane.</p>
</div><!-- End demo-description -->
@@ -61,7 +61,7 @@ <h3><a href="#">Section 4</a></h3>
<div class="demo-description">
-<p>Customize the header icons with the <strong>icons</strong> option, which accepts classes for the header's default and selected (open) state. Use any class from the UI CSS framework, or create custom classes with background images.</p>
+<p>Customize the header icons with the <code>icons</code> option, which accepts classes for the header's default and selected (open) state. Use any class from the UI CSS framework, or create custom classes with background images.</p>
</div><!-- End demo-description -->
@@ -76,7 +76,7 @@ <h3><a href="#">Section 4</a></h3>
<div class="demo-description">
-<p>Because the accordion is comprised of block-level elements, by default its width fills the available horizontal space. To fill the vertical space allocated by its container, set the boolean <strong>fillSpace</strong> option to true, and the script will automatically set the dimensions of the accordion to the height of its parent container. The accordion will also resize with its container if the container is <strong>resizable</strong>.</p>
+<p>Because the accordion is comprised of block-level elements, by default its width fills the available horizontal space. To fill the vertical space allocated by its container, set the boolean <code>fillSpace</code> option to true, and the script will automatically set the dimensions of the accordion to the height of its parent container. The accordion will also resize with its container if the container is <code>resizable</code>.</p>
</div><!-- End demo-description -->
@@ -58,7 +58,7 @@ <h3><a href="#">Section 4</a></h3>
<div class="demo-description">
-<p>Toggle sections open/closed on mouseover with the <strong>event</strong> option. The default value for event is "click."</p>
+<p>Toggle sections open/closed on mouseover with the <code>event</code> option. The default value for event is "click."</p>
</div><!-- End demo-description -->
@@ -23,7 +23,7 @@
<div class="demo-description">
-<p>Populate an alternate field with its own date format whenever a date is selected using the <strong>altField</strong> and <strong>altFormat</strong> options. This feature could be used to present a human-friendly date for user selection, while passing a more computer-friendly date through for further processing.</p>
+<p>Populate an alternate field with its own date format whenever a date is selected using the <code>altField</code> and <code>altFormat</code> options. This feature could be used to present a human-friendly date for user selection, while passing a more computer-friendly date through for further processing.</p>
</div><!-- End demo-description -->
@@ -25,7 +25,7 @@
<div class="demo-description">
-<p>Display a button for selecting Today's date and a Done button for closing the calendar with the boolean <strong>showButtonPanel</strong> option. Each button is enabled by default when the bar is displayed, but can be turned off with additional options. Button text is customizable.</p>
+<p>Display a button for selecting Today's date and a Done button for closing the calendar with the boolean <code>showButtonPanel</code> option. Each button is enabled by default when the bar is displayed, but can be turned off with additional options. Button text is customizable.</p>
</div><!-- End demo-description -->
@@ -26,7 +26,7 @@
<div class="demo-description">
-<p>Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes. Add the boolean <strong>changeMonth</strong> and <strong>changeYear</strong> options.</p>
+<p>Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes. Add the boolean <code>changeMonth</code> and <code>changeYear</code> options.</p>
</div><!-- End demo-description -->
@@ -23,7 +23,7 @@
<div class="demo-description">
-<p>Restrict the range of selectable dates with the <strong>minDate</strong> and <strong>maxDate</strong> options. Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days, 'W' for weeks, 'M' for months, or 'Y' for years.</p>
+<p>Restrict the range of selectable dates with the <code>minDate</code> and <code>maxDate</code> options. Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days, 'W' for weeks, 'M' for months, or 'Y' for years.</p>
</div><!-- End demo-description -->
@@ -26,7 +26,7 @@
<div class="demo-description">
-<p>Set the <strong>numberOfMonths</strong> option to an integer of 2 or more to show multiple months in a single datepicker.</p>
+<p>Set the <code>numberOfMonths</code> option to an integer of 2 or more to show multiple months in a single datepicker.</p>
</div><!-- End demo-description -->
View
@@ -167,7 +167,7 @@ eventually we should convert the font sizes to ems -- using px for now to minimi
}
#demo-notes { width:520px; color:#333; font-size: 1em; }
-.demo-description p code { padding: 0; font-weight: bold; }
+#demo-notes p code, .demo-description p code { padding: 0; font-weight: bold; }
#demo-source pre, #demo-source code { padding: 0; }
code, pre { padding:8px 0 8px 20px ; font-size: 1.2em; line-height:130%; }
@@ -59,7 +59,7 @@
<div class="demo-description">
-<p>Confirm an action that may be destructive or important. Set the <strong>modal</strong> option to true, and specify primary and secondary user actions with the <strong>buttons</strong> option.</p>
+<p>Confirm an action that may be destructive or important. Set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p>
</div><!-- End demo-description -->
@@ -70,7 +70,7 @@
<div class="demo-description">
-<p>Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the <strong>modal</strong> option to true, and specify primary and secondary user actions with the <strong>buttons</strong> option.</p>
+<p>Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p>
</div><!-- End demo-description -->
@@ -56,7 +56,7 @@
<div class="demo-description">
-<p>Use a modal dialog to explicitly acknowledge information or an action before continuing their work. Set the <strong>modal</strong> option to true, and specify a primary action (Ok) with the <strong>buttons</strong> option.</p>
+<p>Use a modal dialog to explicitly acknowledge information or an action before continuing their work. Set the <code>modal</code> option to true, and specify a primary action (Ok) with the <code>buttons</code> option.</p>
</div><!-- End demo-description -->
View
@@ -47,7 +47,7 @@
<div class="demo-description">
-<p>A modal dialog prevents the user from interacting with the rest of the page until it is closed. To add a semi-transparent layer that dims out the page content behind the dialog, set the background color and opacity of the <strong>overlay</strong> option.</p>
+<p>A modal dialog prevents the user from interacting with the rest of the page until it is closed. To add a semi-transparent layer that dims out the page content behind the dialog, set the background color and opacity of the <code>overlay</code> option.</p>
</div><!-- End demo-description -->
@@ -59,7 +59,7 @@ <h3 class="docs">Or to within another DOM element:</h3>
<div class="demo-description">
<p>
-Constrain the movement of each draggable by defining the boundaries of the draggable area. Set the <strong>axis</strong> option to limit the draggable's path to the x- or y-axis, or use the <strong>containment</strong> option to specify a parent DOM element or a jQuery selector, like 'document.'
+Constrain the movement of each draggable by defining the boundaries of the draggable area. Set the <code>axis</code> option to limit the draggable's path to the x- or y-axis, or use the <code>containment</code> option to specify a parent DOM element or a jQuery selector, like 'document.'
</p>
</div><!-- End demo-description -->
@@ -38,7 +38,7 @@
<div class="demo-description">
<p>
-Position the cursor while dragging the object. By default the cursor appears in the center of the dragged object; use the <strong>cursorAt</strong> option to specify another location relative to the draggable (specify a pixel value from the top, right, bottom, and/or left). Customize the cursor's appearance by supplying the <strong>cursor</strong> option with a valid CSS cursor value: default, move, pointer, crosshair, etc.
+Position the cursor while dragging the object. By default the cursor appears in the center of the dragged object; use the <code>cursorAt</code> option to specify another location relative to the draggable (specify a pixel value from the top, right, bottom, and/or left). Customize the cursor's appearance by supplying the <code>cursor</code> option with a valid CSS cursor value: default, move, pointer, crosshair, etc.
</p>
</div><!-- End demo-description -->
@@ -34,7 +34,7 @@
<div class="demo-description">
<p>
-Delay the start of dragging for a number of milliseconds with the <strong>delay</strong> option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the <strong>distance</strong> option.
+Delay the start of dragging for a number of milliseconds with the <code>delay</code> option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the <code>distance</code> option.
</p>
</div><!-- End demo-description -->
@@ -65,7 +65,7 @@
<div class="demo-description">
<p>
-Layer functionality onto the draggable using the <strong>start</strong>, <strong>drag</strong>, and <strong>stop</strong> events. Start is fired at the start of the drag; drag during the drag; and stop when dragging stops.
+Layer functionality onto the draggable using the <code>start</code>, <code>drag</code>, and <code>stop</code> events. Start is fired at the start of the drag; drag during the drag; and stop when dragging stops.
</p>
</div><!-- End demo-description -->
@@ -36,8 +36,8 @@
<div class="demo-description">
-<p>Allow dragging only when the cursor is over a specific part of the draggable. Use the <strong>handle</strong> option to specify the jQuery selector of an element (or group of elements) used to drag the object.</p>
-<p>Or prevent dragging when the cursor is over a specific element (or group of elements) within the draggable. Use the <strong>cancel</strong> option to specify a jQuery selector over which to "cancel" draggable functionality.</p>
+<p>Allow dragging only when the cursor is over a specific part of the draggable. Use the <code>handle</code> option to specify the jQuery selector of an element (or group of elements) used to drag the object.</p>
+<p>Or prevent dragging when the cursor is over a specific element (or group of elements) within the draggable. Use the <code>cancel</code> option to specify a jQuery selector over which to "cancel" draggable functionality.</p>
</div><!-- End demo-description -->
</body>
@@ -33,7 +33,7 @@
<div class="demo-description">
<p>
-Return the draggable (or it's helper) to its original location when dragging stops with the boolean <strong>revert</strong> option.
+Return the draggable (or it's helper) to its original location when dragging stops with the boolean <code>revert</code> option.
</p>
</div><!-- End demo-description -->
@@ -40,7 +40,7 @@
<div class="demo-description">
<p>
-Automatically scroll the document when the draggable is moved beyond the viewport. Set the <strong>scroll</strong> option to true to enable auto-scrolling, and fine-tune when scrolling is triggered and its speed with the <strong>scrollSensitivity</strong> and <strong>scrollSpeed</strong> options.
+Automatically scroll the document when the draggable is moved beyond the viewport. Set the <code>scroll</code> option to true to enable auto-scrolling, and fine-tune when scrolling is triggered and its speed with the <code>scrollSensitivity</code> and <code>scrollSpeed</code> options.
</p>
</div><!-- End demo-description -->
@@ -55,9 +55,9 @@
<div class="demo-description">
-<p>Snap the draggable to the inner or outer boundaries of a DOM element. Use the <strong>snap</strong>, <strong>snapMode</strong> (inner, outer, both), and <strong>snapTolerance</strong> (distance in pixels the draggable must be from the element when snapping is invoked) options. </p>
+<p>Snap the draggable to the inner or outer boundaries of a DOM element. Use the <code>snap</code>, <code>snapMode</code> (inner, outer, both), and <code>snapTolerance</code> (distance in pixels the draggable must be from the element when snapping is invoked) options. </p>
-<p>Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the <strong>grid</strong> option.</p>
+<p>Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the <code>grid</code> option.</p>
</div><!-- End demo-description -->
@@ -64,9 +64,9 @@ <h3 class="docs">Stacked:</h3>
<div class="demo-description">
-<p>Provide feedback to users as they drag an object in the form of a helper. The <strong>helper</strong> option accepts the values 'original' (the draggable object moves with the cursor), 'clone' (a duplicate of the draggable moves with the cursor), or a function that returns a DOM element (that element is shown near the cursor during drag). Control the helper's transparency with the <strong>opacity</strong> option.</p>
+<p>Provide feedback to users as they drag an object in the form of a helper. The <code>helper</code> option accepts the values 'original' (the draggable object moves with the cursor), 'clone' (a duplicate of the draggable moves with the cursor), or a function that returns a DOM element (that element is shown near the cursor during drag). Control the helper's transparency with the <code>opacity</code> option.</p>
-<p>To clarify which draggable is in play, bring the draggable in motion to front. Use the <strong>zindex</strong> option to set a higher z-index for the helper, if in play, or use the <strong>stack</strong> option to ensure that the last item dragged will appear on top of others in the same group on drag stop.</p>
+<p>To clarify which draggable is in play, bring the draggable in motion to front. Use the <code>zIndex</code> option to set a higher z-index for the helper, if in play, or use the <code>stack</code> option to ensure that the last item dragged will appear on top of others in the same group on drag stop.</p>
</div><!-- End demo-description -->
</body>
@@ -48,7 +48,7 @@
<div class="demo-description">
-<p>Specify using the <strong>accept</strong> option which element (or group of elements) is accepted by the target droppable.</p>
+<p>Specify using the <code>accept</code> option which element (or group of elements) is accepted by the target droppable.</p>
</div><!-- End demo-description -->
</body>
@@ -64,7 +64,7 @@
<div class="demo-description">
-<p>When working with nested droppables &#8212; for example, you may have an editable directory structure displayed as a tree, with folder and document nodes &#8212; the <strong>greedy</strong> option set to true prevents event propagation when a draggable is dropped on a child node (droppable).</p>
+<p>When working with nested droppables &#8212; for example, you may have an editable directory structure displayed as a tree, with folder and document nodes &#8212; the <code>greedy</code> option set to true prevents event propagation when a draggable is dropped on a child node (droppable).</p>
</div><!-- End demo-description -->
</body>
@@ -48,7 +48,7 @@
<div class="demo-description">
-<p>Return the draggable (or it's helper) to its original location when dragging stops with the boolean <strong>revert</strong> option set on the <strong>draggable</strong>.</p>
+<p>Return the draggable (or it's helper) to its original location when dragging stops with the boolean <code>revert</code> option set on the draggable.</p>
</div><!-- End demo-description -->
</body>
@@ -63,7 +63,7 @@ <h3 class="docs">Feedback on activating draggable:</h3>
<div class="demo-description">
-<p>Change the droppable's appearance on hover, or when the droppable is active (an acceptable draggable is dropped on it). Use the <strong>hoverClass</strong> or <strong>activeClass</strong> options to specify respective classes.</p>
+<p>Change the droppable's appearance on hover, or when the droppable is active (an acceptable draggable is dropped on it). Use the <code>hoverClass</code> or <code>activeClass</code> options to specify respective classes.</p>
</div><!-- End demo-description -->
</body>
@@ -31,7 +31,7 @@ <h3 class="ui-widget-header">Animate</h3>
<div class="demo-description">
-<p>Animate the resize action using the <strong>animate</strong> option (boolean). When this option is set to true, drag the outline to the desired location; the element animates to that size on drag stop.</p>
+<p>Animate the resize action using the <code>animate</code> option (boolean). When this option is set to true, drag the outline to the desired location; the element animates to that size on drag stop.</p>
</div><!-- End demo-description -->
</body>
@@ -30,7 +30,7 @@ <h3 class="ui-widget-header">Preserve aspect ratio</h3>
<div class="demo-description">
-<p>Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the <strong>aspectRatio</strong> option to true, and optionally pass in a new ratio (i.e., 4/3)</p>
+<p>Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the <code>aspectRatio</code> option to true, and optionally pass in a new ratio (i.e., 4/3)</p>
</div><!-- End demo-description -->
</body>
@@ -35,7 +35,7 @@ <h3 class="ui-widget-header">Resizable</h3>
<div class="demo-description">
-<p>Define the boundaries of the resizable area. Use the <strong>containment</strong> option to specify a parent DOM element or a jQuery selector, like 'document.'</p>
+<p>Define the boundaries of the resizable area. Use the <code>containment</code> option to specify a parent DOM element or a jQuery selector, like 'document.'</p>
</div><!-- End demo-description -->
</body>
@@ -42,7 +42,7 @@ <h3 class="ui-widget-header">Distance</h3>
<div class="demo-description">
-<p>Delay the start of resizng for a number of milliseconds with the <strong>delay</strong> option; prevent resizing until the cursor is held down and dragged a specifed number of pixels with the <strong>distance</strong> option.</p>
+<p>Delay the start of resizng for a number of milliseconds with the <code>delay</code> option; prevent resizing until the cursor is held down and dragged a specifed number of pixels with the <code>distance</code> option.</p>
</div><!-- End demo-description -->
</body>
Oops, something went wrong.

0 comments on commit 62b7c8e

Please sign in to comment.