Jump to content
Search Community

Zappy

Members
  • Posts

    3
  • Joined

  • Last visited

Zappy's Achievements

0

Reputation

  1. Tried to do it but couldnt get it working, really should learn Javascript. I created: var links = document.querySelector('#navigation ul li'); var myAnimation = function animation() { tl.reversed() ? tl.play() : tl.reverse(); }; and then i did this: links.addEventListener('click', function() { myAnimation.call(); });
  2. Thanks for ur Reply, that worked pretty well for me! One thing thats still not working would be to disapear the Nav after clicking a Link, cant get it to work.
  3. Hello, Im new to GSAP and want to learn more about the Animations i can create, first i tried to do a Burger Nav with opening and closing animations, got the opening but could figure out how to do the closing one. Thanks for the help!
×
×
  • Create New...