Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

christianpugliese

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

1,345 profile views

christianpugliese's Achievements

2

Reputation

  1. What I'm trying: Title 1 and Title 2 are pinned to the right As sec 1 scrolls in Title 1 follows it and then stays pinned to the left as sec1 scrolls out Title 2 stays pinned to the right until sec2 enters the viewport and then stays pinned to the left+100px as sec2 scrolls out I was trying to get the same as here but horizontal. https://codepen.io/GreenSock/pen/9e7bf431223f98516c0431cfdefb6e3f
  2. @Hossein Rahimi that works like a charm , thanks for the explanation. Also, using the first hack, changing line 515 did the trick too: _doc = _gsScope.document || {createElement: function() {return _dummyElement;}},
  3. @GreenSock Any help with this? I've just updated to the latest version and I'm getting the following error. This is my next.config.js const withSass = require('@zeit/next-sass') //module.exports = withSass(); const withTM = require('next-plugin-transpile-modules'); module.exports = withTM(withSass({ transpileModules: ['gsap', 'TweenLite', 'ThrowPropsPlugin', 'VelocityTracker', 'ThrowPropsPlugin', 'CSSPlugin'], cssModules: false })); ERROR: Function.<anonymous> ./utils/ThrowPropsPlugin.js:512 509 | */ 510 | _gsScope._gsDefine("utils.VelocityTracker", ["TweenLite"], function() { 511 | > 512 | var _first, _initted, _time1, _time2, 513 | _capsExp = /([A-Z])/g, 514 | _empty = {}, 515 | _doc = _gsScope.document, View compiled ▶ 3 stack frames were collapsed. Module../utils/ThrowPropsPlugin.js ./utils/ThrowPropsPlugin.js:510 507 | * VelocityTracker 508 | * ---------------------------------------------------------------- 509 | */ > 510 | _gsScope._gsDefine("utils.VelocityTracker", ["TweenLite"], function() { 511 | 512 | var _first, _initted, _time1, _time2, 513 | _capsExp = /([A-Z])/g,
  4. for anyone having trouble with this, on ionic 2.2.0 component.ts: import 'gsap'; import "gsap/ScrollToPlugin"; declare var TweenMax; declare var ScrollToPlugin;
  5. Amazing Carl, thanks. I've tried every thing but 100% 100%.
  6. Any idea on how to animate the circle with DrawSVG plugin, from 360 to 0 forwards, and not returning backwards?
×