(^490) ❘ APPENDIX A EXERCISE ANSWERS
bapp01.indd 02/18/2015 Page 490
CHAPTER 16
- The minDate and maxDate options.
- The yearRange option. Example value: "1900:2020"
- The changeMonth and changeYear options.
- The dateFormat option.
- Yes. By providing an array of the Spanish translated weekdays to the dayNames, dayNamesMin,
or dayNamesShort options. - Use the firstDay option to provide the starting day of the week. Sunday is number 0 and
Saturday is number 6. For example, to change the starting day to Tuesday, you would set
firstDay : 2.
CHAPTER 17
- The modal option with positioning the with class name ui-widget-overlay. It must be
positioned to take up the entire window in front of the document’s content but behind the
opened dialog.
- Set the autoOpen option to false.
- By calling dialog('open').
- By calling dialog('close').
- By setting the draggable and resizing options to false.
- The show option with an animation preset such as 'explode'.
CHAPTER 18
- The active tab with a value indicating the tab to display, offset from zero.
- The class names are ui-tabs-active and ui-tabs-hover.
- Add a new tab that references the content you want to load in the href attribute of the
element. The jQuery Tabs plugin takes care of the rest. - The show and hide options.
CHAPTER 19
- No sorting occurs until you explicitly sort by a header unless you specify the sortList option,
which specifi es how default sorting should be handled. - You would use the sortMultiSortKey option with the value 'ctrlKey'.
- You use the cssHeader, cssAsc, and cssDesc options to specify custom class names.