Sa`id Abedi
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Sa`id Abedi
-
-
The only draw back is that webflow has a character limit, so Im forced to save my svg elsewhere.
-
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
See the Pen yLyNKyr by Said_Abedi (@Said_Abedi) on CodePen
Accessing external SVG file and animating
in GSAP
Posted
Could you point me to a resource that would explain how I could.