Scrollify. js scroll with the mouse and scrollify. js scroll
Online instance
Instance demo
Usage
- <! Doctype html>
- <Html>
- <Head>
- <Script>
- $ (Function (){
- $. Scrollify ({
- Section: "section ",
- });
- });
- </Script>
- </Head>
- <Body>
- <Section> </section>
- <Section> </section>
- </Body>
- </Html
Copy
- $. Scrollify ({
- Section: "section ",
- SectionName: "section-name ",
- Easing: "easeOutExpo ",
- ScrollSpeed: 1100,
- Offset: 0,
- Scrollbars: true,
- Before: function (){},
- After: function (){}
- });
Copy
- $. Scrollify ("move", "# name ");
Detailed description of copy Parameters
- Section
- Node selector.
- SectionName
- The data attribute corresponding to each section node.
- Easing
- Define a buffer animation.
- Offset
- Defines the offset of each color tion node.
- Scrollbars
- Whether to display the scroll bar.
- Before
- Callback Function, triggered before the rolling starts.
- After
- Callback Function, triggered after scrolling.
Download