Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

More Floating Photos! Introducing Lightbox JS

Lightbox JS is a simple piece of JavaScript that you can use to display photos on your site. The script, written by Lokesh Dhakar, allows you to load your images in a floating layer on top of your current page, rather than resorting to a pop-up window, a new browser window, or any other technique which forces your users to hit the back button.

Lightbox JS keeps things tidy and accessible by using CSS. Click on a thumbnail and the full-size image is floated in the center of the current browser window. A shaded “mask” layer of transparent PNGs is placed between the image and the source page in order to give the floating image a clean, gallery-style presentation.


Check out the page with the code, and also check out Lokesh’s own implimentation of Lightbox JS on his blog. Sweet rides, too!

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year