Jump to content
GreenSock

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

Search the Community

Showing results for tags 'absolute box'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. Hello, I am starting using GSAP but I haven't found a solution to my problem in the forum. What I am trying to do is to make a 3 boxes animation, each box has 100% height and 50% width, they are next to each other so the last box will be out of the stage. When I button is pressed they all make a 50% translation so the last box is now in the stage and the last one is outside. My problem is that when you click the button the animation works correctly but it is really choppy, laggy at the beginning. What am I doing wrong? can you help me? Here is my GSAP code: $(".js--animate").click(function() { var toAnimate = document.querySelector(".portfolioDescription"); TweenMax.to(toAnimate, 2, {x:"100%" }); var toAnimate2 = document.querySelector(".portfolioImage"); TweenMax.to(toAnimate2, 2, {x:"0%" }); var toAnimate3 = document.querySelector(".portfolioTitle"); TweenMax.to(toAnimate3, 2, {x:"-100%" }); }); Thanks http://codepen.io/frivolta/pen/MJXEYp
×