Jump to content
Search Community

gsap not animating

videomill test
Moderator Tag

Recommended Posts

Hi guys, 

 

I am new to Gsap, I have purchased bussiness plan, I have dowloaded the files and uploaded to server,  here is my animation

gsap now just adding only background to the element I want to animating , no easing , no scaling , no delay etc

 

image.png.559ac266e3338f205a1d751632a9f7e3.png

 

 

var blockText  = getArrayElements( text.tag.find(".content-box .textclass") );

gsap.to(blockText, {
  duration: 1.5,
  backgroundColor: "#FF0000",
  delay: 1.5,
  x: 0,
  scale: 1,
  ease: "bounce"
});

function getArrayElements(elements) {
  var array = [];
  elements.each (function () {
    array.push( $(this)[0] );
  })
  return array;
}
 
 
 
What is wrong here?
 
 
 
 
 
Link to comment
Share on other sites

Hey videomill and thanks for supporting GreenSock by being a Club GreenSock member. Unfortunately given the limited amount of information in your post it's impossible for us to help. Could you please recreate the issue in minimal form and post it here for us to see?

 

Additionally if you solved the issue it'd be helpful if you noted what the issue was and what you did to solve it to help other people. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...