Jump to content
Search Community

lee989

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by lee989

  1. Hey rodrigo, didnt see that var property in the docs, must have missed it in my various scrolls through! Thanks, that solved the problem (although i had to add a 0 pixel span marker for the position, as the css class re-positions the element, which was then causing it not to fire! took me a while to work that one out )
  2. I used the superscrollorama plugin, but hopefully you can help. The way the superscrollorama plugin works, is that when you "add a tween", it immediately pauses that tween. Obviously it works fine when you doing animation, as it can pause the tween quickly enough that it doesn't run. However TweenMax.set() runs immediately and cannot therefore be paused. Unfortunately (as annoying as it is), the plugin doesn't allow me to hook into the scroll watcher to manually fire the tween when i want to, so i have to use what the plugin provides. I was thinking about making the "to" method just run very quickly that no one would notice, but i guess then you get into a gambling game of whether the plugin can call the pause method before the tween executes and does the "set", and of course having the duration low enough so that it appears like a "set". Hopefully that describes my problem well... Can someone advise on how best to work around the issue? If all else fails i'll just modify the plugin to allow me to hook into the scroll watcher and run non tween functions, but i'd rather keep the vendor script un-modifed.
×
×
  • Create New...