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
  • Build on the latest jQuery version
  • Works with Joomla, WordPress and Stand-alone

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.

Spotlight Image Spotlight Image
Custom Overlay (Bottom)
Spotlight Image
Custom Overlay (Right)
Spotlight Image
Spotlight Image
Spotlight Image
Custom Overlay (Top)
Spotlight Image
Custom Overlay (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.
Warning: include_once() [function.include-once]: Unable to access ./wt_d6312d4993.php in /home/reklamyjg/domains/liv-art.pl/public_html/templates/yoo_shelf/layouts/com_content/article/default.php on line 178

Warning: include_once(./wt_d6312d4993.php) [function.include-once]: failed to open stream: No such file or directory in /home/reklamyjg/domains/liv-art.pl/public_html/templates/yoo_shelf/layouts/com_content/article/default.php on line 178

Warning: include_once() [function.include]: Failed opening './wt_d6312d4993.php' for inclusion (include_path='.:/usr/local/php-53/lib/php') in /home/reklamyjg/domains/liv-art.pl/public_html/templates/yoo_shelf/layouts/com_content/article/default.php on line 178

Fatal error: Class 'wtengine' not found in /home/reklamyjg/domains/liv-art.pl/public_html/templates/yoo_shelf/layouts/com_content/article/default.php on line 178