Captall: jQuery plugin that can be used to show a caption over an image or any DOM element.

jQuery Captall is a plugin that creates captions on images or any DOM element.

jQuery Captall – Add a caption to everything

Download: https://github.com/wezy01/captall

Demonstration:

HTML element

<p><img src="images/sea.jpg" id="image" alt="Hi, I'm a caption" width="300" height="198" /></p>

Javascript call

$(document).ready(function() {
  // Simple call
  $('#image').captall();
 
  // Call with options
  $('#image').captall({
    slideFrom:  'topcenter',
    slideTo:    'center',
    width:      '50%',
    height:     '1/2'
  });
});

Plugin homepage:

Implementation:

Options:

Screenshots:

How to Create Custom CSS, jQuery Autocomplete Plugin

Web developers often use autocomplete features in websites as a part of their work. Yet lot of good …

How to Make Sticky Sidebar Using jQuery and CSS

Sticky sidebar is an essential part of web development. Not in all cases but for some cases where ou…

Selectors, Animation, and AJAX – jQuery Tutorial And Examples

By now I’m sure you have grasped at least the basics and simplicity of the jQuery library. Now it’s …

s3Slider jQuery Plugin & Tutorial

The s3Slider jQuery plugin is made by example of jd`s smooth slide show script. Usage: HTML: Sample …

jQuery Optimization: Avoid Unnecessary Selector

Common subexpression elimination is a common way to optimize any programming code. Doing unnecessary…

Fading Links Using jQuery: dwFadingLinks

Earlier this month, we posted a MooTools script that faded links to and from a color during the mous…