Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Snap scrolling to sections

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #205249
    k_cro
    Participant

    Hey I am trying to accomplish something like this… http://projects.lukehaas.me/scrollify/#home but with page sections not being full screen.

    Does anyone know of any solutions?

    #205250
    Shikkediel
    Participant

    Are these sections equal in size? In that case, you could use the script I wrote :

    http://ataredo.com/morphology/lucidscroll/

    http://codepen.io/Shikkediel/pen/GJRbOV

    Embedded pen doesn’t quite work unfortunately…

    $(window).impulse({
    
        range: $('section').height(),
        delay: true
    });
    
    #205251
    k_cro
    Participant

    The sections will not be equal size. And I did check out your plugin from another post nice work!But not quite what I need.

    #205253
    Shikkediel
    Participant

    Cheers, there could be a workaround by putting all sizes in an array and ‘keeping count’ so let me know if you reconsider and need some help with that…

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.