A quick and dirty mobile compatible jQuery script for hover or swipe to reveal content.
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
images
js
README.md
index.html

README.md

Before and After - Swipe to Reveal

A really simple desktop and mobile compatible swipe to reveal script. Free to use in whichever way you see fit.

Tested as working in Chrome 35, Firefox 30, Safari 7, iOS 7, Android 4.4 Chrome 35

Layout

Yes it is a bit ugly, the design is up to you. I was just proving that offsetting the element won't effect the swipe.

Images

Released under the Creative Commons License to release and adapt commercially as well as whatever else by Courtney Rhodes https://www.flickr.com/photos/pumpkincat210/