Giter VIP home page Giter VIP logo

jquery.snapscroll's Introduction

jquery.SnapScroll

Scrolling for single page websites.

Check out a demo here.

Snaps to Containers

When a container approaches the scroll position it will snap to the top of the window.

Moves with Arrow Keys

Navigation between containers is easy, use either the scroll, arrow, space, or page keys.

For Single Page Websites

Navigation between containers is easy, use either the scroll, arrow, space, or page keys.

Credits

A big thanks to all of our contributors!

we the media

SnapScroll is maintained by We The Media, inc.

Sites Using SnapScroll

Got a project that you are using SnapScroll on? Let us know and we will happily throw a link to your page here!

Getting Started

Dependencies

Shapeshift requires the latest version of jQuery, and the scroll_to jquery plugin by Ariel Flesler which is included in the core folder.

Setting Up

There isn't much more to SnapScroll other than to make sure the CSS is set correctly. SnapScroll is called on an element that containers many child elements, each considered one "page" within the single page website. Because of the nature of SnapScroll, all child elements must be the same height as 100% of the window height so that they take up the entire screen when snapped to.

After that, simply call snapscroll on the container and you are good to go!

$('.container').snapscroll();

jquery.snapscroll's People

Contributors

chrismukherjee avatar mutly avatar quadule avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.