Hey guys,
First Post! Love the GSAP community!
I found myself in a bit of a bind. My client is using Webflow to build out their site and I wanted to add a SVG using GSAP for animations.
Based on what I have come across the forum I have used the following:
<object id="test" type="image/svg+xml" href="https://firebasestorage.googleapis.com/v0/b/provisioncapital-3bf77.appspot.com/o/how-it-works.svg?alt=media&token=9c1e2099-1d04-4935-a2b0-c5682b91bd99">
<img src="https://firebasestorage.googleapis.com/v0/b/provisioncapital-3bf77.appspot.com/o/how-it-works.svg?alt=media&token=9c1e2099-1d04-4935-a2b0-c5682b91bd99"/>
</object>
Now my main issue is linking the <script> tag that has my js code that is associated to the SVG.
I'm assuming that since my SVG is now an object/image I can not link any external JS scripts that target the internals of the SVG.
Any suggestions would greatly help.
Thanks a bunch