prateek
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by prateek
-
-
i want to repeat animation after 10 second
duraion of animation should be 2 second
-
-
<html><head><link href='http://fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'><style>.div2{position:absolute;height:100px;width:2px;background:black;left:600px;top:250px;}</style>
</head><body><div class="div2"></div><script>var $box2= $(".div2");$(document).ready(function(){TweenMax.to($box2, 4, {rotation:"10",transformOrigin:"left top",ease:Linear.easeNone});TweenMax.to($box2, 4, {delay:"4",rotation:"-10",transformOrigin:"left top",repeat:-1, yoyo:true,ease:Linear.easeNone});})function moveBox() {}$(window).on('load', moveBox);</script></body></html>
after animation is over i want that it should be started in reverse direction?
in GSAP
Posted
after animation is done it should be started again in reverse direction for infinite period.