diff --git a/entries/accordion.xml b/entries/accordion.xml
old mode 100644
new mode 100755
index 837d63ff..43e3054e
--- a/entries/accordion.xml
+++ b/entries/accordion.xml
@@ -36,7 +36,7 @@
1.0
-
+
Which panel is currently open.
@@ -47,7 +47,7 @@
The zero-based index of the panel that is active (open). A negative value selects panels going backward from the last panel.
-
+
If and how to animate changing panels.
A value of false
will disable animations.
@@ -67,19 +67,19 @@
-
+
Whether all the sections can be closed at once. Allows collapsing the active section.
-
+
The event that accordion headers will react to in order to activate the associated panel. Multiple events can be specificed, separated by a space.
-
+
Selector for the header element, applied via .find()
on the main accordion element. Content panels must be the sibling immedately after their associated headers.
-
+
Controls the height of the accordion and each panel. Possible values:
-
+
Icons to use for headers, matching an icon defined by the jQuery UI CSS Framework. Set to false
to have no icons displayed.
@@ -119,7 +119,7 @@
- Triggered directly after a panel is activated. Can be canceled to prevent the panel from activating. If the accordion is currently collapsed, ui.oldHeader
and ui.oldPanel
will be empty jQuery objects. If the accordion is collapsing, ui.newHeader
and ui.newPanel
will be empty jQuery objects.
+ Triggered directly before a panel is activated. Can be canceled to prevent the panel from activating. If the accordion is currently collapsed, ui.oldHeader
and ui.oldPanel
will be empty jQuery objects. If the accordion is collapsing, ui.newHeader
and ui.newPanel
will be empty jQuery objects.
diff --git a/entries/autocomplete.xml b/entries/autocomplete.xml
old mode 100644
new mode 100755
index 436cfc3e..7393a965
--- a/entries/autocomplete.xml
+++ b/entries/autocomplete.xml
@@ -29,23 +29,23 @@
1.8
-
+
Which element the menu should be appended to. Override this when the autocomplete is inside a position: fixed
element. Otherwise the popup menu would still scroll with the page.
-
+
If set to true
the first item will automatically be focused when the menu is shown.
-
+
The delay in milliseconds between when a keystroke occurs and when a search is performed. A zero-delay makes sense for local data (more responsive), but can produce a lot of load for remote data, while being less responsive.
-
+
The minimum number of characters a user must type before a search is performed. Zero is useful for local data with just a few items, but a higher value should be used when a single character search could match a few thousand items.
-
+
Identifies the position of the suggestions menu in relation to the associated input element. The of
option defaults to the input element, but you can specify another element to position against. You can refer to the jQuery UI Position utility for more details about the various options.
-
+
Defines the data to use, must be specified.
Independent of the variant you use, the label is always treated as text. If you want the label to be treated as html you can use Scott González' html extension . The demos all focus on different variations of the source
option - look for one that matches your use case, and check out the code.
diff --git a/entries/button.xml b/entries/button.xml
old mode 100644
new mode 100755
index 8017eada..f0025d9f
--- a/entries/button.xml
+++ b/entries/button.xml
@@ -15,15 +15,15 @@
1.8
-
+
Icons to display, with or without text (see text
option). By default, the primary icon is displayed on the left of the label text and the secondary is displayed on the right. The positioning can be controlled via CSS. The value for the primary
and secondary
properties must be a class name, e.g., "ui-icon-gear"
. For using only one icon: icons: { primary: "ui-icon-locked" }
. For using two icons: icons: { primary: "ui-icon-gear", secondary: "ui-icon-triangle-1-s" }
.
-
+
Text to show in the button. When not specified (null
), the element's HTML content is used, or its value
attribute if the element is an input element of type submit or reset, or the HTML content of the associated label element if the element is an input of type radio or checkbox.
-
+
Whether to show the label. When set to false
no text will be displayed, but the icons
option must be enabled, otherwise the text
option will be ignored.
diff --git a/entries/datepicker.xml b/entries/datepicker.xml
old mode 100644
new mode 100755
index ac2a1c05..75ceb728
--- a/entries/datepicker.xml
+++ b/entries/datepicker.xml
@@ -44,61 +44,61 @@
1.0
-
+
An input element that is to be updated with the selected date from the datepicker. Use the altFormat
option to change the format of the date within this field. Leave as blank for no alternate field.
-
+
The dateFormat
to be used for the altField
option. This allows one date format to be shown to the user for selection purposes, while a different format is actually sent behind the scenes. For a full list of the possible formats see the [[UI/Datepicker/formatDate|formatDate]] function
-
+
The text to display after each date field, e.g., to show the required format.
-
+
Set to true
to automatically resize the input field to accommodate dates in the current dateFormat
.
-
+
The URL for the popup button image. If set, the buttonText
option becomes the alt
value and is not directly displayed.
-
+
Whether the button image should be rendered by itself instead of inside a button element.
-
+
The text to display on the trigger button. Use in conjunction with the showOn
option set to "button"
or "both"
.
-
+
A function to calculate the week of the year for a given date. The default implementation uses the ISO 8601 definition: weeks start on a Monday; the first week of the year contains the first Thursday of the year.
-
+
Whether the month should be rendered as a dropdown instead of text.
-
+
Whether the year should be rendered as a dropdown instead of text. Use the yearRange
option to control which years are made available for selection.
-
+
The text to display for the close link. Use the showButtonPanel
option to display this button.
-
+
When true
, entry in the input field is constrained to those characters allowed by the current dateFormat
option.
-
+
The text to display for the current day link. Use the showButtonPanel
option to display this button.
-
+
The format for parsed and displayed dates. For a full list of the possible formats see the [[UI/Datepicker/formatDate|formatDate]]
function.
-
+
The list of long day names, starting from Sunday, for use as requested via the dateFormat
option.
-
+
The list of minimised day names, starting from Sunday, for use as column headers within the datepicker.
-
+
The list of abbreviated day names, starting from Sunday, for use as requested via the dateFormat
option.
-
+
Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current [[UI/Datepicker#option-dateFormat|dateFormat]]
, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +7d'), or null for today.
A date object containing the default date.
@@ -110,24 +110,24 @@
A string in the format defined by the dateFormat
option, or a relative date. Relative dates must contain value and period pairs; valid periods are "y"
for years, "m"
for months, "w"
for weeks, and "d"
for days. For example, "+1m +7d"
represents one month and seven days from today.
-
+
Control the speed at which the datepicker appears, it may be a time in milliseconds or a string representing one of the three predefined speeds ("slow", "normal", "fast").
-
+
Set the first day of the week: Sunday is 0
, Monday is 1
, etc.
-
+
When true
, the current day link moves to the currently selected date instead of today.
-
+
Normally the previous and next links are disabled when not applicable (see the minDate
and maxDate
options). You can hide them altogether by setting this attribute to true
.
-
+
Whether the current language is drawn from right to left.
-
+
The maximum selectable date. When set to null
, there is no maximum.
A date object containing the maximum date.
@@ -139,7 +139,7 @@
A string in the format defined by the dateFormat
option, or a relative date. Relative dates must contain value and period pairs; valid periods are "y"
for years, "m"
for months, "w"
for weeks, and "d"
for days. For example, "+1m +7d"
represents one month and seven days from today.
-
+
The minimum selectable date. When set to null
, there is no minimum.
A date object containing the minimum date.
@@ -151,19 +151,19 @@
A string in the format defined by the dateFormat
option, or a relative date. Relative dates must contain value and period pairs; valid periods are "y"
for years, "m"
for months, "w"
for weeks, and "d"
for days. For example, "+1m +7d"
represents one month and seven days from today.
-
+
The list of full month names, for use as requested via the dateFormat
option.
-
+
The list of abbreviated month names, as used in the month header on each datepicker and as requested via the dateFormat
option.
-
+
Whether the prevText
and nextText
options should be parsed as dates by the [[UI/Datepicker/formatDate|formatDate]]
function, allowing them to display the target month names for example.
-
+
The text to display for the next month link. With the standard ThemeRoller styling, this value is replaced by an icon.
-
+
The number of months to show at once.
The number of months to display in a single row.
@@ -172,13 +172,13 @@
An array defining the number of rows and columns to display.
-
+
The text to display for the previous month link. With the standard ThemeRoller styling, this value is replaced by an icon.
-
+
Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths
option is set to true
.
-
+
The cutoff year for determining the century for a date (used in conjunction with [[UI/Datepicker#option-dateFormat|dateFormat]]
'y'). Any dates entered with a year value less than or equal to the cutoff year are considered to be in the current century, while those greater than it are deemed to be in the previous century.
A value between 0
and 99
indicating the cutoff year.
@@ -187,40 +187,40 @@
A relative number of years from the current year, e.g., "+3"
or "-5"
.
-
+
The name of the animation used to show and hide the datepicker. Use "show"
(the default), "slideDown"
, "fadeIn"
, any of the jQuery UI effects . Set to an empty string to disable animation.
-
+
Whether to show the button panel.
-
+
When displaying multiple months via the numberOfMonths
option, the showCurrentAtPos
option defines which position to display the current month in.
-
+
Whether to show the month after the year in the header.
-
+
When the datepicker should appear. The datepicker can appear when the field receives focus ("focus"
), when a button is clicked ("button"
), or when either event occurs ("both"
).
-
+
If using one of the jQuery UI effects for the showAnim
option, you can provide additional settings for that animation via this option.
-
+
Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths
option.
-
+
When true
, a column is added to show the week of the year. The calculateWeek
option determines how the week of the year is calculated. You may also want to change the firstDay
option.
-
+
Set how many months to move when clicking the previous/next links.
-
+
The text to display for the week of the year column heading. Use the showWeek
option to display this column.
-
+
The range of years displayed in the year drop-down: either relative to today's year ("-nn:+nn"
), relative to the currently selected year ("c-nn:c+nn"
), absolute ("nnnn:nnnn"
), or combinations of these formats ("nnnn:-nn"
). Note that this option only affects what appears in the drop-down, to restrict which dates may be selected use the minDate
and/or maxDate
options.
-
+
Additional text to display after the year in the month headers.
@@ -251,6 +251,33 @@
Called when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. this
refers to the associated input field.
+
+
+ Can be a function that takes an input field and current datepicker instance and returns an options object to update the datepicker with. It is called just before the datepicker is displayed.
+
+
+
+
+ The function takes a date as a parameter and must return an array with [0] equal to true/false indicating whether or not this date is selectable, [1] equal to a CSS class name(s) or "" for the default presentation, and [2] an optional popup tooltip for this date. It is called for each day in the datepicker before it is displayed.
+
+
+
+ Allows you to define your own event when the datepicker moves to a new month and/or year. The function receives the selected year, month (1-12), and the datepicker instance as parameters. this refers to the associated input field.
+
+
+
+
+
+ Allows you to define your own event when the datepicker is closed, whether or not a date is selected. The function receives the selected date as text ("" if none) and the datepicker instance as parameters. this refers to the associated input field.
+
+
+
+
+ Allows you to define your own event when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. this refers to the associated input field.
+
+
+
+
diff --git a/entries/dialog.xml b/entries/dialog.xml
index 21ce37d5..210dbb87 100644
--- a/entries/dialog.xml
+++ b/entries/dialog.xml
@@ -51,7 +51,7 @@
The only supported string value is "auto"
which will allow the dialog height to adjust based on its content.
-
+
If and how to animate the hiding of the dialog.
diff --git a/entries/position.xml b/entries/position.xml
index 41e5d497..f6bd9db6 100644
--- a/entries/position.xml
+++ b/entries/position.xml
@@ -12,7 +12,7 @@
- Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right"
will be normalized to "right center"
, "top"
will be normalized to "center top"
(following CSS convention). Acceptable horizontal values: "left"
, "center"
, "right"
. Acceptable vertical values: "top"
, "center"
, "bottom"
. Example: "left top"
or "center center"
. Each dimension can also contain offsets, in pixels or percent, e.g., "right+10 top-25%"
. Perecentage offsets are relative to the element being positioned.
+ Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right"
will be normalized to "right center"
, "top"
will be normalized to "center top"
(following CSS convention). Acceptable horizontal values: "left"
, "center"
, "right"
. Acceptable vertical values: "top"
, "center"
, "bottom"
. Example: "left top"
or "center center"
. Each dimension can also contain offsets, in pixels or percent, e.g., "right+10 top-25%"
. Percentage offsets are relative to the element being positioned.
diff --git a/includes/widget-option-disabled.xml b/includes/widget-option-disabled.xml
old mode 100644
new mode 100755
index 56533c0e..9dda2f82
--- a/includes/widget-option-disabled.xml
+++ b/includes/widget-option-disabled.xml
@@ -1,5 +1,5 @@
-
+
Disables the if set to true
.