Is object in viewport?

I can’t remember if I posted this before, so I am posting again.

This fun little script checks to see if a particular object is in the viewport.

http://codepen.io/TroyThib/pen/PPOzyv

It's only fair to share...Tweet about this on Twitter
Twitter
Share on Facebook
Facebook
Email this to someone
email
Share on Google+
Google+
This entry was posted in JavsScript, jQuery and tagged , , . Bookmark the permalink.