/ Published in: JavaScript

Last step of the installation - Function documentation.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * 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)
URL: http://www.digitalwks.com/blogs/diogo-raminhos/simple-skinnable-jquery-lightbox
Comments
