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:

AJAX Post With jQuery and PHP

AJAX stands for Asynchronous JavaScript and XML. AJAX Post used to create faster, and more interacti…

How a Loop Through a JavaScript Object?

How a Loop through a JavaScript object?Javascript Objects are Variables Containing Variables.In Java…

How to Search Item in List in JavaScript

Multi Step Form Using HTML and JavaScript

Form is the important part in web design. Form is the primary interface to the user by which user is…

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…