webapp

Members
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

4 Newbie

About webapp

  • Rank
    Newbie
  1. Instagram Brand Navigation

    Thanks a lot @Jonathan
  2. Instagram Brand Navigation

    Thanks a lot(infinite) @Carl
  3. Instagram Brand Navigation

    @OSUblake please help
  4. Instagram Brand Navigation

    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
  5. reverse change var value

    Thanks a lot.... u r champ!
  6. reverse change var value

    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.