I’ve got the latest version of jquery library installed and just want a simple lightbox effect (preferably without having to install any additional libraries).
When a thumbnail image from my carousel widget (jcarousel lite) is clicked, I want to show a full size image of that same image in a closable window and grey out the background.
I’d also like to apply this same behavior to a simple thumbnail that’s not part of the carousel widget.
Any ideas?
I Like jQuery Tools. Granted, it’s another library, but well worth it! I include this library in MOST of my web projects.
Just pop this line into your HEAD tag, and it also includes the jQuery Lib.
Once that’s done, just use the Overlay library. I use this to pop-up images, forms, or anything else.
Essentially, you just create a div:
Style it:
Create a JS function to popup divs
Then When you click a “link” just call:
There are even a handful of nice animations and effect to go along with the library (like the Apple Effect and the Drop Effect
Highly customizable and highly useful!