Custom animations don't sit inside content blocks

Posted in: Newspaper
Post count: 26

Domain and ‘problem’ urls:
https://doogle.com/index.php/2022/10/03/test-gsap/
https://doogle.com/index.php/2022/10/04/test2-gsap/

I’ve got a simple animation. When it’s on a browser it’s fine but inside tagDiv it seems to escape the DOM/boarders. Is there something I can do? I’ve tried adding it to a container, table, iFrame etc. but they all have their other problems.
Thanks

Post count: 27744

Hello,

Please let me know how you add the animation.

Thank you!

Post count: 26

Hi Anamaria, sorry for late reply. I won’t have time to work on the site for a while. However – my question is more generic. Say (for example) how would I add any JavaScript library (such as JQuery) to my tagDiv site? It would require adding a custom CSS and JavaScript library (I believe). I’ve tried various examples but can’t get anything to work.
I’m trying to get GSAP working but I’ll have more time in February to try again but any help appreciated.
GASP examples: https://codesandbox.io/examples/package/gsap

Post count: 27744

Hello,

You can add the library in the Theme panel -> custom code -> Custom Javascript and you can try to set the code in Column text.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.