Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wbotelhos/capty

jQuery Capty - A Caption Plugin
https://github.com/wbotelhos/capty

Last synced: about 1 month ago
JSON representation

jQuery Capty - A Caption Plugin

Awesome Lists containing this project

README

        

/**
* jQuery Capty - A Caption Plugin - http://wbotelhos.com/capty
* --------------------------------------------------------------------------
*
* jQuery Capty is a plugin that creates captions over the images.
*
* Licensed under The MIT License
*
* @version 0.2.1
* @since 12.18.2010
* @author Washington Botelho dos Santos
* @link http://wbotelhos.com/capty
* @twitter http://twitter.com/wbotelhos
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @package jQuery Plugins
*
* Thanks to:
* --------------------------------------------------------------------------
* DinisM
*
* Default values:
* --------------------------------------------------------------------------
* animation: 'slide' // The captions animation type: 'slide', 'fade' or 'fixed'.
* cCaption: 'capty-caption' // The class name of the wrapper caption.
* cImage: 'capty-image' // The class name of the wrapper image.
* cWrapper: 'capty-wrapper' // The class name of the wrapper image and caption.
* height: 30 // The height of the caption.
* opacity: .7 // The opacity of the caption.
* prefix: '' // The text/html that will be applied at the beginning of the legend.
* speed: 200 // The speed in which caption will appear and disappear.
* sufix: '' // The text/html that will be applied at the end of the caption.
*
* Usage with default values:
* --------------------------------------------------------------------------
*
* $('#capty').capty();
*
* Super Mario Bros.®
*
*/