Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /plotuj-pl/templates/gk_john_s/lib/menu/GKBase.class.php on line 114

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /plotuj-pl/templates/gk_john_s/lib/menu/GKHandheld.php on line 76
Frontpage animations
Logo

Warning: count(): Parameter must be an array or an object that implements Countable in /plotuj-pl/templates/gk_john_s/html/com_content/article/default.php on line 15

Frontpage animations

In the John S template we have implemented the brand-new animation engine based on the scrollReveal.js script. This script makes creating elements onscroll animations very simple to define.

Thanks to this script you can describe an animation using natural language.

Description of the animation is placed in the data-scrollreveal attribute:

<!-- These 2 lines are equivalent -->
<p data-scrollreveal="enter top move 25px"> foo </p>
<p data-scrollreveal="enter from the top and then move 25px"> foo </p>

The full description of the syntax is available on the project documentation page