modal

Lightbox Gone Wild

Lightbox gone wild (by the folks at particletree) (based on lightbox is a piece of javascript that enables you to show modal content on top of your web page. Modal content is somewhat like a dialog box that you must interact with in order to proceed with whatever you were doing.

Most implementations of lightbox and lightbox gone wild use this functionality to pop-up images (removing the necessity for the user to open a new window/tab or use the back button after viewing the full-size image) or text (usually similar to operating system popups).

For some reason, I decided to use the code to "pop-up" content over a fireworks-generated site. I probably should have done something more elegant and less kludgy, but this works too. This approach did, however, pose some problems. Some functionality needed to be added to the basic lightbox gone wild code. However, lightbox gone wild is an extremely compact and complex piece of javascript, and it makes use of the prototype js lib. And there was much wailing and gnashing of teeth. Ultimately, after many a fruitless hacking session, google was king. I found these hacks on various websites.