Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/helpers/system.php on line 543

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/helpers/system.php on line 700

Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/helpers/request.php on line 29

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/classes/OAuth.php on line 110

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/classes/OAuth.php on line 110

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/helpers/system.php on line 115

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/widgets/lightbox/lightbox.php on line 49

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/widgets/lightbox/lightbox.php on line 49

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/widgets/lightbox/lightbox.php on line 49

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/widgets/lightbox/lightbox.php on line 49

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/widgets/lightbox/lightbox.php on line 49

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/widgets/lightbox/lightbox.php on line 49

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/plugins/widgetkit/helpers/system.php on line 135

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Warp_Breadcrumbs has a deprecated constructor in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/themes/yoo_sync_wp/warp/systems/wordpress/widgets/breadcrumbs/breadcrumbs.php on line 9

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Warp_Sidebar has a deprecated constructor in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/themes/yoo_sync_wp/warp/systems/wordpress/widgets/sidebar/sidebar.php on line 9

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/themes/yoo_sync_wp/warp/systems/wordpress/helpers/system.php on line 148

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/themes/yoo_sync_wp/warp/systems/wordpress/helpers/system.php on line 151

Deprecated: Function create_function() is deprecated in /var/www/vhosts/polsterei-gaetzi.ch/httpdocs/wp-content/themes/yoo_sync_wp/warp/systems/wordpress/helpers/system.php on line 312
Sync Theme » Spotlight

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
  • Responsive design to fit all device resolutions
  • 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.