Usage:
This shortcode applies a jQuery “animation” against an existing CSS Id or one created on the fly, depending on your input.
It enables the timed/delayed fading in and out of CSS elements.
This shortcode does NOT support conditional branching with [ELSE_jdelay].
Shortcode nesting is NOT supported.
Parameters:
id | Name of the existing CSS #Id to which the shortcode should be applied. If not given, one will be created on the fly. Default: none. Required: no. |
fade_out | Determines whether the element will initially be displayed or not. If not given, 0 is assumed and initial display will be suppressed. Any value higher than 0 will display the element that many seconds before applying the remaining actions. Default: 0. Required: no. |
delay_show | Defines the delay in seconds until the element will be made visible. Default: 0. Required: no. |
fade_show | Defines the gradual opacity steps in seconds until the element will be made fully visible. Default: 0. Required: no. |
delay_hide | Defines the delay in seconds until the element will be made invisible. Default: 0. Required: no. |
fade_hide | Defines the gradual opacity steps in seconds until the element will be made fully invisible. Default: 0. Required: no. |
Example:
[mbr_jdelay delay_show='5' delay_hide='5'] display this after 5 seconds, hide it again 5 seconds later. [/mbr_jdelay]
[mbr_jdelay fade_out='5'] display this immediately, hide it after 5 seconds. [/mbr_jdelay]
[mbr_jdelay id='test' fade_out='5']my external[/mbr_jdelay]
Please note that the closing shortcode tag is necessary if the shortcode is used more than once in a page or post.
API:
There is currently no ActiveMember360 API function equivalent for this shortcode.