YOOtheme
Thursday, 11 March 2010
YOOlightbox PDF Print E-mail
Test Lightbox We’ve integrated the most advanced Lightbox feature ever created called Shadowbox. The Lightbox feature allows you to show overlay popups of any kind of media content on the page you are currently at instead of linking to a new window. It shows a small preloader animation before displaying the content.

It supports all of the most popular web media formats including images, QuickTime, Windows Media Player, Flash, Flash video, and even external web pages. This makes it easy to display your content without converting it to some other format.

Usage

Add a rel="shadowbox" attribute to any link tag to activate the lightbox feature.

For example:
<a href="image.jpg" rel="shadowbox" title="my caption">image #1</a>
Optional: Use the title attribute if you want to show a caption.

If you have a set of related images that you would like to group, follow step one but additionally include a group name between square brackets in the rel attribute.

For example:
<a href="image-1.jpg" rel="shadowbox[a]">image #1</a>
<a href="image-2.jpg" rel="shadowbox[a]">image #2</a>

Examples

Try out this feature by clicking on the following links: Single Image Image Gallery (With two images) Apple.com Trailer YouTube Google Video External site