Jump to content
Search Community

ZajeliMiGuzik

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ZajeliMiGuzik's Achievements

0

Reputation

  1. Hello Paul! Now it works perfectly, thanks very much. I just want to use the same variable names for future timelines. Thats why I'm trying to find a solution like close variables in functions.
  2. Hello GreenSock forum! I have some trouble with setting up my icon animation. If I append variables in local function, my animation start on click but not reverse on another. Animation works if I have absolute values (without variables) but I want to have shorter code like currently. When my variables goes into global variables (like in CodePen example) my animation works but have some issues with frames and start glitching / lagging. I would be grateful for some help and examples to try it out.
  3. Sorry for some late. I'm already updated my post with working CodePen demo.
  4. Sure, that was I already notices nad where my question comes from. I don't know the way to store values from start > animate to others > and then backward to stored values.
  5. I uploaded my working code here: https://spectrumlab.pl/ As You can se when we open and close menu, hit refresh page my icon is not at the same starting position.
  6. Hello GreenSock community! Is there any way to save values before animation is started? I want to make animation start when click the button and reverse back to (saved) values when click again. Currently i just have correct visual effect but something destroy my margins. I can't find any solution that will work for me.
×
×
  • Create New...