/image-picker.js

Create an iOS-style photo picker using CSS3 and JavaScript for mobile devices

Primary LanguageJavaScriptOtherNOASSERTION

image-picker.js

Create an iOS-style photo picker using CSS3 and JavaScript for mobile devices.

Pre-Requisites

This library depends on Pushpop and ScrollKit to provide UI transitions between the views as well as scrolling.

Usage

Simply drop the CSS onto any page:

<link rel="stylesheet" type="text/css" href="externals/Pushpop/externals/scrollkit/scrollkit.css"/>
<link rel="stylesheet" type="text/css" href="externals/Pushpop/pushpop.css"/>
<link rel="stylesheet" type="text/css" href="image-picker.css"/>

Then, include the JavaScript with jQuery (or Zepto!):

<script type="text/javascript" src="jquery-1.7.2.js"></script>
<script type="text/javascript" src="externals/Pushpop/externals/scrollkit/scrollkit.js"></script>
<script type="text/javascript" src="externals/Pushpop/pushpop.js"></script>
<script type="text/javascript" src="image-picker.js"></script>

See the included demo page for usage.

License

Copyright 2012 Entropi Software, LLC.

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0