diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
diff --git a/bower.json b/bower.json
new file mode 100644
index 0000000..cb26b61
--- /dev/null
+++ b/bower.json
@@ -0,0 +1,14 @@
+{
+ "name": "unslider",
+ "version": "0.0.0",
+ "main": "src/unslider.min.js",
+ "license": "MIT",
+ "dependencies": {
+ "jquery": "latest"
+ },
+ "ignore" : [
+ "site/",
+ "readme.md",
+ ".gitignore"
+ ]
+}
diff --git a/readme.md b/readme.md
old mode 100644
new mode 100755
index cd75ce5..19d8ca3
--- a/readme.md
+++ b/readme.md
@@ -1,51 +1,3 @@
-# Unslider
-### A jQuery slider that just slides.
+Visit the site.
-If you want to have a quick, lightweight slider, with just the arrows and no fancy effects, then you'll love Unslider. Weighing in at 3kb uncompressed, and 1.6kb compressed, it's an incredibly lightweight solution.
-
-## Features
-* Slides a list
-* Supports any HTML content (within a list item)
-* Keyboard support
-
-That's it!
-
-## Quickstart
-To begin using Unslider, just include the files, and create a `div` with an unordered list (`ul`) inside.
-
-Pretty straightforward, and nice and semantic. Lovely. Now, we need a touch of CSS as well:
-```css
-.unslider { overflow: hidden; }
- .unslider li { float: left; }
-```
-
-_This is the same as the contents for unslider.css, so if you're including that file, don't add this CSS._
-
-Now that it's all set up, you just need to call the `unslider` method, with any options. They're optional, though, so you don't need to
-
-```javascript
-// Vanilla install
-$('#slider').unslider();
-
-// And any options
-$('#slider').unslider({
- // Options go here.
-});
-```
-
-## Options
-It's also got a few options:
-
-```javascript
-{
- activeClass: 'active',
- arrows: true, // If false, just autoplay
-
- // Speeds + timing
- speed: 250,
- delay: 2000,
-
- // Callbacks
- afterSlide: function() {} // Called after a slide has occured.
-}
-```
\ No newline at end of file
+License:
diff --git a/site/img/icons.png b/site/img/icons.png
new file mode 100644
index 0000000..0065c94
Binary files /dev/null and b/site/img/icons.png differ
diff --git a/site/img/icons@2x.png b/site/img/icons@2x.png
new file mode 100644
index 0000000..7a18904
Binary files /dev/null and b/site/img/icons@2x.png differ
diff --git a/site/img/logo.png b/site/img/logo.png
new file mode 100644
index 0000000..0d9610b
Binary files /dev/null and b/site/img/logo.png differ
diff --git a/site/img/shop.jpg b/site/img/shop.jpg
new file mode 100644
index 0000000..360a19c
Binary files /dev/null and b/site/img/shop.jpg differ
diff --git a/site/img/subway.jpg b/site/img/subway.jpg
new file mode 100644
index 0000000..010de55
Binary files /dev/null and b/site/img/subway.jpg differ
diff --git a/site/img/sunset.jpg b/site/img/sunset.jpg
new file mode 100644
index 0000000..3479be8
Binary files /dev/null and b/site/img/sunset.jpg differ
diff --git a/site/img/wood.jpg b/site/img/wood.jpg
new file mode 100644
index 0000000..d90d39f
Binary files /dev/null and b/site/img/wood.jpg differ
diff --git a/site/index.html b/site/index.html
new file mode 100644
index 0000000..b8a63fb
--- /dev/null
+++ b/site/index.html
@@ -0,0 +1,258 @@
+
+
+
Unslider’s been tested in all the latest browsers, and it falls back magnificently for the not-so-latest ones.
+If you want to, you can add keyboard arrow support. Try it: hit left and right arrow keys.
+Not all slides are created equal, and Unslider knows it. It’ll stylishly transition heights with no extra code.
+You’ll be hard pressed to find a site that’s not responsive these days. Unslider’s got your back.
+To use Unslider, you’ll need to make sure both the Unslider and jQuery scripts are included. If you’ve already got jQuery (you can test by opening your JavaScript console and typing !!window.jQuery
— if it says true
, you have jQuery), you don’t need to add the first line.
<script src="//code.jquery.com/jquery-latest.min.js"></script> +<script src="//unslider.com/unslider.js"></script> ++
Unslider doesn’t need any really awkward markup. In fact, all you need is a div
and an unordered list. An example of some Unslider-friendly HTML is on the right.
You can add as many slides as you want: the example on the right just has three for the sake of brevity, but Unslider won’t work properly with one slide (but then it’s just a box).
+<div class="banner"> + <ul> + <li>This is a slide.</li> + <li>This is another slide.</li> + <li>This is a final slide.</li> + </ul> +</div>+
You can change, add, and remove as much CSS per slide as you want, but there is a barebones style required by Unslider. It’s on the right (change the class name where .banner is the name of your slider).
+.banner { position: relative; overflow: auto; } + .banner li { list-style: none; } + .banner ul li { float: left; }+
We’ve been through so much together, and I’m pleased to say the finish line is near. Our journey is almost over, just one more thing left to do. The JavaScript is on the right (make sure to put it in a script
tag, and change .banner
to whatever your slider’s element is).
$(function() { + $('.banner').unslider(); +});+