Jump to content
Search Community

Meds86

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Meds86

  1. Hey all,

     

    Big fan of gsap always excited when I get to use it.

     

    I recently built a site for my biz mortgage-on-demand.com

     

    As you can see the split text is not breaking the lines up properly. It looks especially weird afterwards because i revert the splittext.

     

    Any reason why this is?

     

    Thanks,

    Metturan

  2. I'm new to SVG's and trying to get this to animate.

     

    I thought something like this would work

    TweenLite.fromTo('.path', 1, {drawSVG: "0%"}, {drawSVG: "100%"});

     

    but unfortunately no.

     

     

    I would like to line animate this logo, any troubleshooting guidance would be appreciated.

    See the Pen grWOXW by Meds (@Meds) on CodePen

  3. Hmm I noticed since it using jquery scrollmagic plugin I have to use jquery syntax. 

    example on scrollmagic site is to do 

     

    var scene = new $.ScrollMagic.Controller

     

    It hasn't worked but it got rid of the old error and gave me a new error (below) which I feel is one step closer to getting it to work.

     

    Cannot read property 'Controller' of undefined

     

    I'll try to figure it out. But thanks for support Carl.

  4. I included this link into the application.html.erb file in my app.

    <script src="https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.3/plugins/animation.gsap.min.js"></script>

     

    I changed the order of how the plugins were getting read and the error is no longer showing up. However I still have this one error..

     

    ScrollMagic.Controller is not a constructor (the line its referring to is the one below)

    var controller = new ScrollMagic.Controller();

     

    I realize you may not know this one as this may not be greensock related.. but thought I'd try.

     

    Thanks for the support Carl.

     

    P.S. This is my github account for the app https://github.com/naemcivic/tutoru/tree/front

  5. I'm very new to web dev. I'm creating my first app.

     

    When I integrate my front end into my back end (Rails). I'm getting

     

    animation.gsap.min.js:2 Uncaught TypeError: Cannot read property 'addOption' of undefined

     

    not sure what to do.

×
×
  • Create New...