Skip to content

Scrollshow allows you to fire a callback when the page reaches a certain position.

Notifications You must be signed in to change notification settings

mruncola/scrollshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrollshow jQuery Plugin v 0.1 https://github.com/mruncola/scrollshow.git

(c) Doug McKay - http://dougmckay.com License: MIT (http://www.opensource.org/licenses/mit-license.php)

Case: attached to object [COMPLETE]

  1. As I scroll down the page - I want to check if my object is visible on the screen. If it is I want to fire a callback.
  2. My element is already visible on the screen at initialization time. If it is I want to fire a callback.

Scrollshow allows you to fire a callback when an object on the page enters the view port.

Example:

$(".item").scrollshow( { callback : function(){ alert("ITEM IS ON THE PAGE!"); } } );

About

Scrollshow allows you to fire a callback when the page reaches a certain position.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published