Shortcodes

[intense_animated_scroll]

Description

Animated Scroll allows for animating of items on a page. The animations happen as the page is scrolled. This is different than the ]intense_animated] shortcode in that the animations happen as you scroll down and reverse as you scroll up. In order to use this, you will need to be at least somewhat familiar with Skrollr. If you use the preset values for the three types, they will work fine. If you want to change the default values, please see the documentation to get a better feel for how to create the effects at different scrolling locations for the different items. Make sure to look at the Anchor Position Guide PDF to help understand positioning.

Attributes

AttributeTypeDialog TitleDescriptionDefaultAvailable Values
target_idtextAnchor Target IDoptional - used to set the anchor target client-side ID. This is used if you want the animated scroll item to be anchored to another item on the page (for example, a content section).
effectdropdownPre-defined EffectSelect an effect or select Custom to create your own effect.fadein - Fade In
fadeout - Fade Out
fadeinout - Fade In/Fade Out
fadeoutscale - Scale and Fade Out
rotateupleft - Rotate Up Left and Fade Out
rotateupright - Rotate Up Right and Fade Out
custom - Custom
effect_codetextareaEffect CodeThis is what controls the effect during scroll. You need to know how to use Skrollr relatively well in order to modify the pre-defined effect or create your own custom effect(s).
classtextCSS ClassSet the CSS Class for this item so you can control the style

Compatibility

The animations will only work in browsers that support CSS3 transitions. This may exclude Internet Explorer 9 and below.

Examples

[intense_content_section]

Introduction

[intense_row padding_top="0"]
[intense_column size="12" medium_size="12"]
The animated scroll shortcode allows you to animate just about anything on a page. Try scrolling down the page and then scrolling back up. You'll see the animations happen in both directions.


See Skrollr documentation for more information. Make sure to look at the Anchor Position Guide PDF to help understand positioning.

The current scroll animations are:

  • Fade In - The item will fade in at a set scroll point
  • Fade Out - The item will fade out at a set scroll point
  • Fade In/Fade Out - The item will fade in at a set scroll point, and then fade out at another set scroll point
  • Custom - create your own scroll animation (see Skrollr documentation link above for more information)

Examples of the scroll animations can be found below. We plan to add more pre-defined scroll animations, so keep an eye out for them in future updates.
[/intense_column]
[/intense_row]
[/intense_content_section]

[intense_content_section id="scroll_in1" background_type="image" image="781" imagemode="parallax" image_horizontal_position="center"]
[intense_animated_scroll target_id="scroll_in1" effect="fadein" effect_code="data-bottom-top='opacity: 0' data-center-top='opacity: 1'"]
[intense_heading font_size="45" line_height="54" font_color="#444444" align="center"]
Fade In Scrolling Animation
[/intense_heading]
[/intense_animated_scroll]

[intense_animated_scroll target_id="scroll_in1" effect="fadein" effect_code="data-bottom-top='opacity: 0' data-center-top='opacity: 1'"]
[intense_heading font_color="#444444" align="center" tag="h2"]
This animation fades in as the element is scrolled into view
[/intense_heading]
[/intense_animated_scroll]

[intense_animated_scroll target_id="scroll_in1" effect="fadein" effect_code="data-bottom-top='opacity: 0' data-center-top='opacity: 1'"]
[intense_panel shadow="8" title="Fade In scrolling animation" title_tag="h4" title_color="#444444" title_font_color="#ffffff" color="#cccccc"]
[intense_filler paragraphs="2" start_with_lorem="0"]
[/intense_panel]
[/intense_animated_scroll]
[/intense_content_section]

[intense_content_section id="scroll_in2" background_type="color" background_color="#f9f9f9" border_top="1px solid #ededed" border_bottom="1px solid #ededed"]
[intense_animated_scroll target_id="scroll_in2" effect="fadeout" effect_code="data-150-top='opacity: 1' data-top='opacity: 0'"]
[intense_heading font_size="45" line_height="54" font_color="#444444" align="center"]
Fade Out Scrolling Animation
[/intense_heading]
[intense_heading font_color="#444444" align="center" tag="h2"]
This animation fades out as the element gets close to reaching the top of the page
[/intense_heading]
[/intense_animated_scroll]

[intense_animated_scroll target_id="scroll_in2" effect="fadeout" effect_code="data-150-top='opacity: 1' data-top='opacity: 0'"]
[intense_gallery size="small320" columns="5" id="3698" include="756,755,751,761,760" no_link="1"]
[/intense_animated_scroll]
[/intense_content_section]

[intense_content_section id="scroll_in3"]
[intense_animated_scroll target_id="scroll_in3" effect="fadeinout" effect_code="data-bottom-top='opacity: 0' data-center-top='opacity: 1' data-150-top='opacity: 1' data--50-top='opacity: 0'"]
[intense_row]
[intense_column size="9" medium_size="9" small_size="12" extra_small_size="12"]
[intense_heading font_size="45" line_height="54" font_color="#444444"]
Fade In/Fade Out Scrolling Animation
[/intense_heading]
[intense_filler paragraphs="2" start_with_lorem="0"]
[/intense_column]
[intense_column size="3" medium_size="3" small_size="12" extra_small_size="12"]
[intense_image image="3074" size="square400" title="Digital Globe" border_radius="50%"]
[/intense_column]
[/intense_row]
[/intense_animated_scroll]
[/intense_content_section]

[intense_content_section id="scroll_in4" background_type="color" background_color="#f9f9f9" border_top="1px solid #ededed" border_bottom="1px solid #ededed"]
[intense_heading font_size="45" line_height="54" font_color="#444444" align="center"]
Rotate Up Left and Rotate Up Right Scrolling Animations
[/intense_heading]
[intense_heading font_color="#444444" align="center" tag="h2"]
The following two panels will rotate up to either side while scrolling down.
[/intense_heading]
[intense_row]
[intense_column size="6" medium_size="6" small_size="12" extra_small_size="12"]
[intense_animated_scroll effect="rotateupleft" effect_code="data-175-top='opacity:1;transform:rotate(0deg);transform-origin:0 0;' data-top='opacity:0;transform:rotate(-90deg);'"]
[intense_panel shadow="8" title="Rotate left scrolling animation" title_tag="h4" title_color="#444444" title_font_color="#ffffff" color="#cccccc"]
Duis euismod arcu sit amet scelerisque iaculis. In ut enim vel mi sodales facilisis non id ipsum. Donec ut tortor in risus eleifend porttitor. Curabitur eu nisl in tortor lacinia suscipit eu quis nulla. Quisque vitae elit accumsan, mattis magna id, bibendum dui.

Proin ut lacus ac mi sollicitudin interdum. Nam cursus urna sit amet lacus laoreet, pulvinar laoreet lectus lobortis. Curabitur varius odio a adipiscing tempor. Maecenas ultricies ante quis sodales accumsan. Nulla euismod justo adipiscing ante porttitor adipiscing.
[/intense_panel]
[/intense_animated_scroll]
[/intense_column]
[intense_column size="6" medium_size="6" small_size="12" extra_small_size="12"]
[intense_animated_scroll effect="rotateupright" effect_code="data-175-top='opacity:1;transform:rotate(0deg);transform-origin:100% 0;' data-top='opacity:0;transform:rotate(90deg);'"]
[intense_panel shadow="8" title="Rotate right scrolling animation" title_tag="h4" title_color="#444444" title_font_color="#ffffff" color="#cccccc"]
Proin ut lacus ac mi sollicitudin interdum. Nam cursus urna sit amet lacus laoreet, pulvinar laoreet lectus lobortis. Curabitur varius odio a adipiscing tempor. Maecenas ultricies ante quis sodales accumsan. Nulla euismod justo adipiscing ante porttitor adipiscing.

Duis euismod arcu sit amet scelerisque iaculis. In ut enim vel mi sodales facilisis non id ipsum. Donec ut tortor in risus eleifend porttitor. Curabitur eu nisl in tortor lacinia suscipit eu quis nulla. Quisque vitae elit accumsan, mattis magna id, bibendum dui.
[/intense_panel]
[/intense_animated_scroll]
[/intense_column]
[/intense_row]
[/intense_content_section]

[intense_content_section id="scroll_in5"]
[intense_animated_scroll target_id="scroll_in5" effect="fadeoutscale" effect_code="data-bottom-top='opacity: 1' data-center-bottom='transform: translate3d(0px, 0px, 0px) scale(1, 1) rotate(0deg);' data-150-top='transform: translate3d(0px, 0px, 0px) scale(1.2, 1.2) rotate(0deg);' data-top='transform: translate3d(0px, 100px, 0px) scale(.25, .25) rotate(0deg); opacity:0;'"]
[intense_heading font_size="45" line_height="54" font_color="#444444" align="center"]
Scale with Fade Out Scrolling Animation
[/intense_heading]
[intense_heading font_color="#444444" align="center" tag="h2"]
This animation scales and fades out while scrolling
[/intense_heading]
[/intense_animated_scroll]

[intense_row]
[intense_column size="4" medium_size="4" small_size="12" extra_small_size="12"]
[intense_image image="760" size="medium500"]
[/intense_column]
[intense_column size="4" medium_size="4" small_size="12" extra_small_size="12"]
[intense_image image="761" size="medium500"]
[/intense_column]
[intense_column size="4" medium_size="4" small_size="12" extra_small_size="12"]
[intense_image image="751" size="medium500"]
[/intense_column]
[/intense_row]
[/intense_content_section]

[intense_content_section id="scroll_in6" background_type="color" background_color="#f9f9f9" border_top="1px solid #ededed" border_bottom="1px solid #ededed" padding_top="50" padding_bottom="50"]
[intense_heading font_size="35" line_height="43" font_color="#444444" align="center"]
You can also create your own custom scrolling animations!
[/intense_heading]
[/intense_content_section]

[intense_snippet snippet_id="Child Theme | Shortcodes/footer" snippet_title="Shortcode Page Footer"]