Lightbox-ish modified Thickbox 介绍
This is based on Cody Lindley’s Thickbox plugin. I wanted the “Previous” and
“Next” navigation of lightbox, but without all the fancy animation and image
resizing. I also wanted to “fix” the image so that if you had an image you
were popping up that was bigger then your browser area, you could scroll
around that image to see the whole thing.
This version of Thickbox is for image handling only. I took out the Ajax
pieces, as I was only using this for images.
- Centers the image, except if its bigger then your window, it puts it at
20px padding from the left or top of the screen, depending on limiting
dimension
- Fixes the image to that spot, allowing you to scroll around the image if
its bigger then your screen.
- Adds “previous” and “next” navigation like lightbox, with a “close” once
you get to the last image in a slideshow.
Implement this just like Cody’s Thickbox. Here is an example of it from my
site http://www.tomhoppe.com/2008/05/vir-al-fairer-double-sarrc.html