Web Development with jQuery®

(Elliott) #1

(^608) ❘ APPENDIX Q TABS
show Whether and how to animate the
opening of a tab panel.
If a boolean value is provided, false
indicates no animation , and the panel
closes immediately. If true is provided,
the panel fades out with the default
duration and default easing.
If a number is provided, it indicates
how long the fade animation should
take place with the default easing.
If a string is provided, it indicates
what animation or UI effect to use, for
example, 'slideUp' or 'fold'. This
animation will be applied with default
duration and default easing.
If an object is provided, you may
specify the following properties:
effect, delay, duration, and
easing.
Default value: null
Boolean,
Number,
String, Object
TAB EVENTS
OPTION DESCRIPTION VALUE
activate
bind('tabsactivate')
on('tabsactivate')
A function executed when a tab has
been activated.
function
(event, ui)
beforeActivate
bind('tabsbeforeactivate')
on('tabsbeforeactivate')
A function executed before a tab has
been activated.
function
(event, ui)
beforeLoad
bind('tabsbeforeload')
on('tabsbeforeload')
A function executed before a tab is
loaded.
function
(event, ui)
create
bind('tabscreate')
on('tabscreate')
A function executed when tabs are
created.
function
(event, ui)
load
bind('tabsload')
on('tabsload')
A function executed when a tab has
been loaded.
function
(event, ui)
(continued)
http://www.it-ebooks.info

Free download pdf