Skip to main content

mbr_jdelay

Usage

This shortcode applies a jQuery “animation” against an existing CSS ID or one created automatically.

It enables the timed/delayed fading in and out of CSS elements.

Important

Please note that the closing shortcode tag [/mbr_jdelay] is necessary if the shortcode is used more than once within a page or post.

Parameters

ParametersDescription
idName of an existing CSS ID to which the shortcode should be applied. If not specified, one will be created automatically.
Default: none.
Required: no.
fade_outDetermines whether the element will initially be displayed or not. If not specified, 0 is assumed and initial display will be suppressed. Any value higher than 0 will display the element for that many seconds before applying the remaining actions.Default: 0
Required: no.
delay_showThe delay in seconds until the element will be shown.
Default: 0.
Required: no.
fade_showThe gradual opacity steps in seconds until the element will be fully visible.
Default: 0.
Required: no.
delay_hideThe delay in seconds until the element will be hidden.
Default: 0.
Required: no.
fade_hideThe gradual opacity steps in seconds until the element will be fully invisible.
Default: 0.
Required: no.

Validity

This shortcode is evaluated for any type of visitor.

Conditional Branching

This shortcode does NOT support conditional branching with [ELSE_jdelay].

Nesting

Shortcode nesting is NOT supported.

Examples

Displays "My message" immediately the visitor lands on the page and hides it 5 seconds later:

[mbr_jdelay fade_out='5']
My message
[/mbr_jdelay]

API

info

There is currently no ActiveMember360 API function equivalent for this shortcode.