Return to Snippet

Revision: 40940
at February 10, 2011 06:50 by Whiteagle


Initial Code
/**
 * OpenLightbox 
 * This function centers an element on the screen.
 *
 * Args:
 * title - The title for the lightbox
 * contents - The contents for the body of the lightbox
 * buttonText - null to hide the button or text to a button that closes the lightbox
 * callbackFunction - null or a callback to call on lightbox close.
 * reloadCallback - null or a callback to call on lightbox reload (hide and show)
 **/
function OpenLightbox(title,contents,buttonText, callbackFunction, reloadCallback)

Initial URL
http://www.digitalwks.com/blogs/diogo-raminhos/simple-skinnable-jquery-lightbox

Initial Description
Last step of the installation - Function documentation.

Initial Title
Simple Skinnable JQuery Lightbox

Initial Tags
simple, jquery

Initial Language
JavaScript