A Web Page Change Multi Background Color On Mouse Scroll – jquery-scrollie

Other
Demo    Download
File Size: 2.04 KB
Views Total: 202 views
Last Update:November 10, 2020
Publish Date: November 10, 2020
Official Website: Go to website
License: MIT

A Free jQuery Plugin with Scrollie.js is a easy and lightweight  jQuery scroll plugin, that will permit you to call your own capacity when a component comes into see. This module will possibly disclose to you when your component is in view and let you run whatever liveliness you can think of.

How to used :

1. Add and place the JavaScript file jquery.scrollie.js after jQuery library.

<script src="jquery-1.12.4.min.js"></script>
<script src="jquery.scrollie.js"></script>

2. Call the function on the container element you want to keep track of the scroll events.

$(function(){

  $('.element').scrollie();

});

3. Possible options to customize the plugin.

$('.element').scrollie({

  // the scrolling element to watch for scrolling action
  parentElement : window, 

  // 'up', 'down'
  direction : "both", 

  // in pixels
  scrollOffset : 0, 
  scrollRatio  : 2

});

Done


Nola Arney

Nola Arney is a full stack web developer who has worked at companies of various shapes and sizes, and with technologies just as diverse. Her ambition for development is only matched by his desire to find the perfect meme for every occasion.