Wednesday, June 10, 2009

LightWindow - an excellent LightBox implementation

LightWindow is perhaps one of the best of the LightBox-type implementations around, supporting almost every media type currently in use.

screenshot

I found a few gotchas, but these were very minor:

  1. needs XHTML pages with correct DOCTYPE for it work in IE
  2. Might need to edit lightwindow.js to correct the hardcoded paths to the skin elements
  3. Replace the first line with the second in the HTML HEAD:
    1. <script type="text/javascript" src="javascript/scriptaculous.js?load=effects"></script>
    2. <script type="text/javascript" src="javascript/effects.js"></script>

You can grab the files here: http://www.stickmanlabs.com/lightwindow/lightwindow.zip

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home