Jump to content
GreenSock

Paul Hunault

BusinessGreen
  • Posts

    2
  • Joined

  • Last visited

About Paul Hunault

Paul Hunault's Achievements

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

  1. Hello, Thanks for you quick answer. I found the solution by using jQuery(document).ready() method Thank you
  2. Hi there, I have the same error "Cannot read property 'length' of undefined" You can see my website here : http://devpm.pureemaison.com/ Here is my code : function pm_onScrollInit( items, trigger ) { items.each( function() { var Element = $(this), AnimationClass = Element.hasClass('text_anim'), split_text = new SplitText(Element, {type:"lines,words"}), tl = new TimelineLite(); var Trigger = ( trigger ) ? trigger : Element; Trigger.waypoint(function() { tl.staggerFrom(split_text.lines, 1, {y:-20, autoAlpha:1, ease:Back.easeOut}, 0.02); },{ triggerOnce: false, offset: '75%' }); }); } pm_onScrollInit( $('.text_anim') ); Any ideas ? Thanks for your help !
×