Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tinywall/scrollzip

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrollzip.js

This jQuery plugin is used to trigger some action if the given element is becoming visible or hidden while scrolling. The given demo is using the animate.css for the scroll action animation.

$(document).ready(function(){
  $(document).scrollzipInit();
  $(window).on("load scroll resize", function(){
      $('.section').scrollzip({
          showFunction    : function() { $(this).css("visibility", "visible").addClass('animated bounceInLeft'); },//optional
          hideFunction    : function() { $(this).css("visibility", "hidden").removeClass('animated'); },//optional
          //showShift       : 100,//optional
          //hideShift       : -100,//optional
          //wholeVisible  : true,//optional
      });
  )};
)};

About

jQuery plugin to trigger action if element is visible while scrolling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.