Instantly share code, notes, and snippets.

View jquery.oauth.js
/*
MIT License (MIT)
Copyright (c) 2011 Andy Edinborough
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 TH
View gist:5421166

overview

So you want to make a slideshow on your blog. First you'll need content. Your content can come from anywhere. JSON, XML, and HTML are supported. So get that setup and ready to go. Once you have that, put jQuery, jquery.knot.js, and knot.base.css on your page. Add the initialization block and you've got a slideshow. Want to add features? Just change the settings in the init block. Don't like the way it looks? Add some css to your page. Hide stuff you don't like. Change the colors etc. It really is that simple.

quickstart

  1. Add the js to your page. http://o.aolcdn.com/os/aol/knot/v2/jquery.knot.min.js
  2. Add the base css to your page. http://o.aolcdn.com/os/aol/knot/css/knot.base.css
  3. Add configuration and initialization javascript.