Jump to content
Search Community

saroj

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by saroj

  1. On 10/12/2014 at 11:24 PM, svla said:

    I just downloaded the latest Green Sock JS files, and uploaded TweenMax.js & TweenMax.min.js to my site to replace the cdnjs links I have been working on, but the downloaded files broke my site.

     

    I did a fair amount of testing and even created a test site with only one div and the download files seem to not be working, but the cdnjs do work.

     

    TweenMax.min.js

    Any thoughts? Are the cdnjs files different than the download files?

     

    Thanks.

    TweenMax.min.js

    TweenMax.min.js

  2. On 2/9/2016 at 10:45 PM, Friebel said:

    Hi,

     

    When using greensockglobals object, I can't get the morphSVGplugin to work (it throws errors).

    The drawSVGplugin DOES work with greensockglobals, but if I use the morphSVGplugin the same way I use drawSVGplugin, it's not working. If I code without using greensockglobals, both plugins works perfectly fine. But obviously I want to use the globals object.

     

    Could this be a bug in the morphSVGplugin? (Not respecting the greensockglobals object) Or am I doing something wrong here?

     

     

    THIS IS MY CODE WITHOUT GREENSOCKGLOBALS (working fine)

    
    [... greensock lib here...]
    
    var tl = new TimelineMax();
    tl.to('#objectFrom', 0.2, { morphSVG: { shape: '#objectTo' }, ease: Linear.easeNone });
     
     
    THIS IS THE SAME CODE WITH GREENSOCKGLOnnnnnnnnBALS (throwing errors):
    
    var gs = window.GreenSockGlobals = {};
    [... greensock lib here...]
    
    var tl = new gs.TimelineMax();
    tl.to('#objectFrom', 0.2, { morphSVG: { shape: '#objectTo' }, ease: gs.Linear.easeNone });
    Thanks in advance!

     

×
×
  • Create New...