Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
28 Cards in this Set
- Front
- Back
Describe the three basic kinds of elements included in the jQuery UI plugin
|
Effects - enhanced effects beyond those provided by the base jQuery lib
Interactions - mouse events like drag-and-drop Widgets - set of common controls like progress bars, sliders, etc |
|
Explain the purpose of ThemeRoller
|
ThemeRoller provides a quick way to create themes without writing css from scratch; it can be used to:
a) preview a gallery of existing themes b) build a custom theme c) modify an existing theme |
|
(true or false) IE does not support rounded corners on images
|
true (sort of)
jQuery rounded corners do not work in any version of IE up to and including 8 Also, FIREFOX does not support rounded corners on images. |
|
explain the jQuery UI effect: blind
|
shows/hides element by moving bottom edge up or down (or left/right if 'direction' set to horizontal)
|
|
explain the jQuery UI effect: bounce
|
element bounces vertically or horizontally and is optionally shown/hidden
|
|
explain the jQuery UI effect: clip
|
shows/hides element by moving opposite borders together until they meet in the middle or vice versa
|
|
explain the jQuery UI effect: drop
|
shows/hides element by making it appear to drop on/off the page
|
|
explain the jQuery UI effect: explode
|
shows/hides element by splitting it apart and moving parts in radial directions as if imploding/exploding
|
|
explain the jQuery UI effect: fade
|
shows/hides element by adjusting opacity
|
|
explain the jQuery UI effect: fold
|
shows/hides element by adjusting opposite borders in/out
|
|
explain the jQuery UI effect: highlight
|
changes background color while showing/hiding element
|
|
explain the jQuery UI effect: pulsate
|
adjusts opacity of element on and off before showing/hiding
|
|
explain the jQuery UI effect: puff
|
expands/contracts element in place while adjusting opacity to show/hide
|
|
explain the jQuery UI effect: scale
|
expands or contracts by a percentage, 0=hide, 100=show
|
|
explain the jQuery UI effect: shake
|
shakes element back and forth, optionally can hide/show element
|
|
explain the jQuery UI effect: size
|
resizes element; can optionally restore to original size
|
|
explain the jQuery UI effect: slide
|
element appears to slide on/off page; shows/hides element
|
|
explain the jQuery UI effect: transfer
|
makes an outline that causes element to appear to transfer into another; hides/shows element
|
|
(true or false) the core jQuery library allows users to animate colors
|
false; jQuery UI provides methods to support this but not the core library
|
|
what css properties are supported by jQuery UI's color animations?
|
backgroundColor
border[Bottom|Top|Left|Right]Color color outlineColor |
|
In what way does jQuery UI enhance the core methods: show(), hide(), and toggle()?
|
It allows more flexibility by providing four arguments for controlling the animation, instead of just a duration:
effect - UI effect to use options - any effects options speed - slow,normal,fast, or milliseconds callback - optional callback executed after the animation completes |
|
(true or false)the core jQuery methods addClass(), removeClass() and toggleClass() are extended by jQuery UI
|
true, it provides the following arguments:
class - css class to modify speed - slow,normal,fast, or milliseconds easing - an easing function passed to animate() callback - callback executed when animation completes force - force toggleClass() to add if true or remove if false |
|
what method does jQuery UI provide to allow switching between two classes?
|
switchClass( removed, added, speed, easing, callback )
|
|
which two easing functions are provided by jQuery core?
|
linear and swing
|
|
explain the $(...).position() options: my, at, and of
|
my - location of the wrapped elements
at - location of the target element of - a selector that identifies the target element or an Event Example: $('#elementToMove').position({ my: 'top left', at: 'bottom right', of: '#targetElement' }); |
|
explain the offset option used in $(...).position()
what data type is the value? |
specifies any offset to be added as a string with two values separated by space (in pixels, can be negative)
|
|
explain the collision option used in $(...).position()
what are its possible values? |
rule to apply when positioned element extends beyond the window in any direction
accepts one or two parms in a string, sep by a space flip: default, flips element to opposite side and tries to fit again fit: keeps element in desired direction but adjusts position none: disables collision detection |
|
explain the using option used in $(...).position()
what data type is the value? |
A function, replaces internal function that controls element's position for fine control of placement
called for each element of wrapped set with single argument: hash with top/left properties set to computed target position |