Jump to content
Search Community

Klaus

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by Klaus

  1. I don't think I need to duplicate it, looking at this again today, I think my problem is more with math,

    I have these numbers:

    $('#timeline').width() // 3840 - total width of my div with the years
    $('#timeline').position().left // random number - 
    $(this).position().left // random number - when click on the year $(.year.year-active)
    $(window).width() // 1920 - the size of my screen
    
    
    var tl = new 
    TimelineLite();
    tl.to($('#timeline'), 1, {x: /*I have no idea of what to put here*/ })
                              

     

    It'll slide my timeline, but how to calc it correctly :/

  2. I can't work with Codepen,

     

    This website is under heavy load (queue full)

    We're sorry, too many people are accessing this website at the same time. We're working on this problem. Please try again later.

     

    Error 502 bad gateway.

     

    Is that normal?

     

  3. Hi, I am trying to achieve an effect that when I scroll the page I move two different lists of words,

    and I can see just two word per time (one of each list).

    After I see the 6 words, I unpin the lists and go to another section.

     

    and I know I'm doing it quite wrong, so I'm asking for some help or tips.

     

    Thank you.

    See the Pen xPjZKj by sktklaus (@sktklaus) on CodePen

×
×
  • Create New...