Hello,
I'm willing to put scrollreveal script into Creativity template to automate text animations in my modules. Here's what I did:
1) took scrollreveal.js from 'John' template and copied it to /js directory of 'Creativity' template,
2) added to /gk_creativity/layouts/blocks/head.php line:
$this->API->addJS($this->API->URLtemplate() . '/js/scrollreveal.js');
3) created module (bottom1) with content including: <div data-scroll-reveal="enter from the bottom and move 50px over 0.3s after 0.3s">Some text</div>
And it doesn't work. At. All.
What am I missing or doing wrong?
Thank you in advance