Andrew Bialecki![]()
See the Lightbox 2 home page for more information. Supports everything that Lightbox 2 currently supports with added functionality coming soon.
See documentation at http://projects.sophomoredev.com/yui-gallery-lightbox. Also, for a download, please follow the download link below as there is a zip file hosted at Github with everything you need.
This is all you need to get the YUI Lightbox port working. If you want to pass in some options about how Lightbox should work, you can pass those to the "init" method as a standard configuration hash.
<script src="http://yui.yahooapis.com/3.1.0/build/yui/yui-min.js"></script><script src="http://yui.yahooapis.com/3.0.0/build/yui/yui-min.js"></script>
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2010.04.08-12-35'
}).use('gallery-lightbox', function(Y) {
Y.Lightbox.init();
});| Subject | Author | Date |
|---|---|---|
| Attaching a JS event | astaves | 06/9/10 |
© 2010 YUI Library - Site Credits