Plugin / Animate Your Content
FidesInstallation
Installation
- Install and activate this plugin
- Place shortcodes in your content as described below.
To get started, look at the examples with code samples on my site.
Shortcode Installation Example
[animation-set style=”” class=”” id=”” ]
[animation-element] .. your content here .. [/animation-element]
[animation-element] .. your content here .. [/animation-element]
[/animation-set]
HTML shortcode attributes
Any attributes placed on an animation-set
will be automatically applied to any nested animation-element
s. It is however possible to override an animation-set
attribute per animation-element
.
The html attributes style
and class
can be used on both animation-set
and animation-element
. The id
attribute can only be used on an animation-set
.
Animation shortcode attributes
effect
: one of ( slide_from_left , slide_from_right , slide_from_top , slide_from_bottom , fade_in , rotate ). No default and thus a required field.time
: the total elapsed time of the animation in seconds. Fractions are allowed. Default is 2.0 seconds.delay
: the delay in seconds (fractions allowed) after which the animation must start. Default is 0.rotation
: rotation angle in degrees. Example: 360. Only used for effectrotate
.ease
: defines the method used to make a block of content bounce against the far edge of the animation. Possible values are described on this page. Examples are ‘Bounce.easeIn’, ‘Cubic.easeOut’, ‘Elastic.easeInOut’, etc.delay_increment
: this attribute is only allowed on ananimation-set
element. It defines the incremental delay in seconds (fractions allowed) that must be added to each subsequent childanimation-element
. The default value is 0.
Example
- Text flying in from the top, left, right and bottom of the screen.
- Each animation takes 3 seconds.
[animation-set ease=”Bounce.easeIn” time=”3″]
[animation-element effect=”slide_from_top”]Hello World (from top)![/animation-element]
[animation-element effect=”slide_from_left”]Hello World (from left)![/animation-element]
[animation-element effect=”slide_from_right”]Hello World (from right)![/animation-element]
[animation-element effect=”slide_from_bottom”]Hello World (from bottom)![/animation-element]
[/animation-set]
Example
- Images flying in from the left, with half a sec delay in between.
- Each animation takes 1.5 seconds.
- The container DIV gets a css class attribute for custom styling purposes.
[animation-set effect=”slide_from_left” time=”1.5″ ease=”Bounce.easeIn” delay_increment=”0.5″ class=”myCssClass”]
[animation-element][/animation-element]
[animation-element][/animation-element]
[animation-element][/animation-element]
[animation-element][/animation-element]
[/animation-set]
Example
- Text rotates 360 degrees in 1.5 seconds.
[animation-set effect=”rotate” time=”1.5″ rotation=”360″]
[animation-element]Hello World[/animation-element]
[/animation-set]
Example
- Fade in the page title and afterwards, fade in the content below the title
- Total animation time is 1.5 seconds
[animation-set effect=”fade_in”]
[animation-element time=”1.5″]
My Page Title
[/animation-element]
[animation-element time=”1.5″ delay=”1.5″]
Here is some more content that will be faded in later
<p>Enjoy</p>
[/animation-element]
[/animation-set]
Ratings
Rating breakdown
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.