Lightbox JS WordPress Plugin

Posted by Robert Love on May 1, 2007 in WordPress Plugins, Software

The Lightbox JS WordPress Plugin enables your website with Lightbox JS - a simple, unobtrusive script used to overlay images on the current page.

Example

Aidan Ready to RollAidan Plays on the Grass at the McGintysTummy-Time

Download

sd-lightbox-js-2_02.zip (16Kb)

Requirements

  1. Prototype WordPress Plugin
  2. script.aculo.us WordPress Plugin

Features

  • Fully customisable JavaScript, CSS and Images via Options interface
  • Full separation of the Prototype JavaScript Framework and the script.aculo.us JavaScript Library from the Lightbox JS script

Installation

  1. Upload the plugin to the ‘wp-content/plugins’ folder in your WordPress directory
  2. Activate the plugin via the ‘Plugins’ admin panel
  3. Go to Options > Lightbox JS
  4. Under the heading ‘Edit JavaScript (lightbox.js)’ find the ‘Configuration’ section and update the following two lines:
    1. var fileLoadingImage = "images/loading.gif";
    2. var fileBottomNavCloseImage = "images/closelabel.gif";

    The above two lines need to point to the Lightbox JS images directory for your website. For example:

    1. var fileLoadingImage = "http://yoursite.net/wp-content/plugins/sd-lightbox-js/images/loading.gif";
    2. var fileBottomNavCloseImage = "http://yoursite.net/wp-content/plugins/sd-lightbox-js/images/closelabel.gif";

Note: After downloading the Lightbox JS WordPress Plugin, extract the ZIP package and open the readme.txt file. The readme file contains full instructions.

1 Comment on Lightbox JS WordPress Plugin

By madteckhead on June 23, 2007 at 3:26 am

Hi am giving your work a little praise on my blog and though you might like to know about it.

Lightbox on Wordpress 2.2 with in Post Gallery -> http://www.madteckhead.com/blog/2007/06/22/lightbox-on-wordpress-22-with-in-post-gallery/

Thanks for your great plugins.

Comment

Log in or Register to post a comment.

More

Read more posts by Robert Love

About the Author

I'm a web technologist, University lecturer and trainer based in Sydney, Australia. I'm particularly interested in standards-based web design and development using web standards such as XHTML, CSS and the DOM, and open-source software such as Linux, Apache, MySQL and PHP. When I'm not making websites, I like to tell other people how I think they should make websites. I have developed, and teach, a few training courses in web technologies offered through Learn4Life at The University of New South Wales, Sydney, Australia. I'm a member of the W3C HTML Working Group, the Web Industry Professionals Association and the Web Standards Group and can be found espousing my opinions on forums and in mailing lists. My wife and son enjoy the benefits of my full-time employment as Senior Developer with News Digital Media, and they wouldn't mind at all if you wanted to contact me with yet a further opportunity for me to get no sleep.

script.aculo.us WordPress Plugin Installing Apache, MySQL and PHP on Windows