Posted By

Whiteagle on 02/10/11


Tagged

simple jquery Lightbox Skinnable


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Whiteagle


Simple Skinnable JQuery Lightbox


 / Published in: JavaScript
 

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

Last step of the installation - Function documentation.

  1. /**
  2.  * OpenLightbox
  3.  * This function centers an element on the screen.
  4.  *
  5.  * Args:
  6.  * title - The title for the lightbox
  7.  * contents - The contents for the body of the lightbox
  8.  * buttonText - null to hide the button or text to a button that closes the lightbox
  9.  * callbackFunction - null or a callback to call on lightbox close.
  10.  * reloadCallback - null or a callback to call on lightbox reload (hide and show)
  11.  **/
  12. function OpenLightbox(title,contents,buttonText, callbackFunction, reloadCallback)

Report this snippet  

You need to login to post a comment.