Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
simplistic & lightweight gallery
CSS JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css Update Outlaw with better styles
cur first commit
img
js
.gitignore Merge branch 'master' of https://github.com/dope/outlaw
README.md
bower.json New bower file
index.html

README.md

Outlaw

Outlaw is a simplistic and lightweight gallery that toggles from a small view to a full screen view. It's also responsive and soon to be completely browser compatible.

View it live here

Getting Started

Getting started couldn't be easier, first you need to link your stylesheet

<link rel="stylesheet" type="text/css" href="css/outlaw.css">

The only changes you really need to make in the CSS file is the width of .wrap (you don't even need to use that to be honest.)

Next you need to link up jQuery and the outlaw.js file.

<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="js/outlaw.js"></script>

Usage

To use Outlaw, just add the class .imgSmall to your images, for example:

<img class="imgSmall" src="img/example.jpg"/>

License

The MIT License (MIT)

Copyright (c) 2013 Joe Richardson

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Something went wrong with that request. Please try again.