Jump to content
Search Community

cpshop

Members
  • Posts

    6
  • Joined

  • Last visited

cpshop's Achievements

1

Reputation

  1. I just investigated GreenSock so don't understand much. Thank you for the help. I'm thinking how to create a box of random images on slideUp. But don't know what to do
  2. It mean i use TweenMax for Exp: var colors = ["red", "blue", "green", "purple", "pink", "yellow", "orange"], tl = TweenMax.staggerTo(".box", 1, { cycle : { y : [75, 0, -75], backgroundColor : function (i) { return colors[Math.floor(Math.random() * colors.length)]; } }, ease : Power2.easeInOut }, 0.05); Is it ok. And i want creat button id="return" when i click it will repeat TweenMax
  3. Exp: $(document).ready(function(e) { var colors = ["red", "blue", "green", "purple", "pink", "yellow", "orange"]; tl = new TweenMax({delay:0.5}); tl.staggerTo(".box", 1, { cycle : { y : [75, 0, -75], backgroundColor : function (i) { return colors[Math.floor(Math.random() * colors.length)]; } }, ease : Power2.easeInOut }, 0.05); $("#return").click(function(){ tl.restart(); }) }); But i see browser err(tl.staggerTo is not a function).Please help me
  4. Its very usaful for me. Thanks so much
  5. I don't understand what the effects of perspective in TweenLite.set function.Explain me, please!.And i find method perspective where???.Thanks you Exp: TweenLite.set("#quote", {perspective:400});
×
×
  • Create New...