Portal
Spotlight
The Widgetkit Spotlight allows you to add an overlay to your images which fades or moves in on mouse hover. The overlay can be an image or HTML content. The default magnifier spotlight is a perfect match to be used with a lightbox.
Features
- Create nicely animated image overlays
- Supports custom image or HTML content overlays
- 5 different animation modes
- Built with the latest jQuery version
- Works with Joomla and WordPress
Examples
If no custom overlay is set the default spotlight fades in an overlay with an magnifier image. If you define a custom overlay you can choose between different animations - fade
, bottom
, top
, right
and left
.
How To Use
Use the HTML5 custom data attribute data-spotlight
to activate the spotlight.
<a data-spotlight="on" href="/mypage.html"> <img src="/image.jpg" width="180" height="120" alt="" /> </a>
To create a custom overlay use a div element with the CSS class overlay
. You can set the effect parameter to the data attribute. For example:
<a data-spotlight="effect:bottom;" href="/mypage.html"> <img src="/image.jpg" width="180" height="120" alt="" /> <div class="overlay">Custom Overlay</div> </a>
You can set the effect parameter to fade
, bottom
, top
, right
and left
.
Lightbox
The Widgetkit Lightbox allows you to view images, HTML and multi-media content on a dark dimmed overlay without having to leave the current page.
Features
- Display images, videos, HTML, Iframes, Ajax requests and SWF
- Supports YouTube, Vimeo, MP4 (h.264), WebM and FLV movies
- Group lightboxes and mix different content types
- 3 different opening and closing transitions
- 4 different caption styles
- Keyboard and mouse scroll wheel navigation
- Built with the latest jQuery version
- Works with Joomla and WordPress
Examples
Different animations - fade
, elastic
and none
Different title positions - float
, inside
and over
Various examples in one gallery (try also using the keyboard and mouse scroll wheel)
How To Use
Use the HTML5 custom data attribute data-lightbox
to activate the lightbox. You can set various lightbox parameters to the data attribute. For example:
<a data-lightbox="width:1000;height:600;" href="http://www.wikipedia.org">Lightbox</a>
Here is a list of the most common parameters:
- titlePosition - How should the title show up? (
float
,outside
,inside
orover
) - transitionIn - Set a opening transition. (
fade
,elastic
, ornone
) - transitionOut - Set a closing transition (
fade
,elastic
, ornone
) - overlayShow - Set to
true
orfalse
- width - Set a width in pixel
- height - Set a height in pixel
- padding - Set a padding in pixel