Press "Enter" to skip to content

JavaScript Library To Make DOM Elements “Scroll To Show” | scrollShow.js

ScrollShow is a JavaScript library to make DOM elements “scrollable for view“. If we want the DOM elements to remain hidden initially and become visible only when the user passes them to the viewport.

fade in one by one jquery, scrollable horizontally or vertically using mouse drag, fade in down animation css, css animation fade in and out, fade in one by one css, jquery fade in elements sequentially

How to make use of it:

1. Load the JavaScript scrollShow.js file and Stylesheet scrollShow.css into the document.

<link rel="stylesheet" href="scrollShow.css" />
<script src="scrollShow.js"></script>

2. Add a CSS class to the target element.

<div class="scrollShow">
  Item 1
</div>
<div class="scrollShow">
  Item 2
</div>
<div class="scrollShow">
  Item 3
</div>
...

3. Configure scrollShow.js and then the library adds the active class ‘show’ to the visible elements inside the viewport.

scrollShow.addItems();

4. You can override the active class name.

<div class="scrollShow" data-scroll-show-class="active">
  Item 1
</div>

5. Specify the position (%) in which the items are considered “displayed”.

<div class="scrollShow" data-scroll-show-element-percent="100" data-scroll-show-viewport-percent="0">
  Item 1
</div>

Fade Elements In Sequence When Scrolling Down, ScrollShow Plugin/Github, fade in fade out page transition, fade in html, css fade in list items


See Demo And Download

Official Website(iamfranco): Click Here

This superior jQuery/javascript plugin is developed by iamfranco. For extra Advanced Usages, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *