Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wbotelhos/capty
- Owner: wbotelhos
- License: mit
- Created: 2010-12-19T20:08:57.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-04-04T00:26:42.000Z (over 13 years ago)
- Last Synced: 2024-08-01T22:54:07.819Z (3 months ago)
- Language: JavaScript
- Homepage: http://wbotelhos.com/capty
- Size: 239 KB
- Stars: 56
- Watchers: 7
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.txt
- Changelog: changelog.txt
- License: LICENSE.txt
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();
*
*
*
*/