Jump to content
GreenSock

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

vishal_codes

Members
  • Posts

    11
  • Joined

  • Last visited

About vishal_codes

  • Birthday October 18

Profile Information

  • Gender
    Male
  • Location
    India
  • Interests
    UI Animations

Recent Profile Visitors

1,167 profile views

vishal_codes's Achievements

8

Reputation

  1. Hi @Cassie Many Thanks for reply I have achieved what i was looking for....
  2. Hello Sir, I want to scroll images which is in gray section with pinned to "home-feature-section" once gray section(home-feat-list-contain) finishes animate to x position. Sorry for poor english..
  3. Thanks a lot... @Sahil and @Acccent
  4. What if i want to play currentAnimation simultaneously while other reversing... Please help...
  5. Thanks a lot(infinite) @Carl
  6. Need Help, I want to achieve navigation similar to https://en.instagram-brand.com/ , i've 90% achieved it which you can find in my pen. I want your help when i click on menu item i want indicator to hold on it... One bug, Indicator doesn't point correctly sometime... Thank a lot.... -Vishal
  7. Hey guys, var panWidth = $(".panContain").width(); var panImg = $(".panContain").find(".panImg"); var start = 50; var width = panImg.width() - panWidth; var tl = new TimelineMax({ onComplete: function onComplete() { start = 0; tl.reverse(); }, onReverseComplete: function onReverseComplete() { start = 0; tl.restart(); } }); tl.fromTo(panImg, 20, { "transform": "translate("+ -start +"px,0)", }, { "transform": "translate(-" + width + "px,0)", ease: Linear.easeNone }); Please Help, Here i want to set from value to "transform": "translate("+ -start +"px,0)" only when start. onComplete i want to tl.reverse() to "transform": "translate(0,0)" not 50 then again restart it from "transform": "translate(0,0)" not 50. Above my code does not reset start to 0 onComplete.
×