{"id":92,"date":"2011-06-08T11:33:45","date_gmt":"2011-06-08T11:33:45","guid":{"rendered":"http:\/\/192.168.1.50\/Themes\/2012\/Nano2\/Website_WP\/?page_id=92"},"modified":"2013-06-25T13:19:34","modified_gmt":"2013-06-25T13:19:34","slug":"spotlight","status":"publish","type":"page","link":"https:\/\/v2.wesselstuinen.nl\/?page_id=92","title":{"rendered":"Spotlight"},"content":{"rendered":"<p>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 for the Widgetkit lightbox.<\/p>\r\n\r\n<h2>Features<\/h2>\r\n\r\n<ul class=\"uk-list uk-list-space\">\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> Create nicely animated image overlays<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> Supports custom image or HTML content overlays<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> 5 different animation modes<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> Responsive design to fit all device resolutions<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> Built with the latest jQuery version<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> Works with Joomla and WordPress<\/li>\r\n<\/ul>\r\n\r\n<h2>Examples<\/h2>\r\n\r\n<p>If no custom overlay is set, the default spotlight fades in an overlay with a magnifier image. If you define a custom overlay, you can choose between different animations &#8211; <code>fade<\/code>, <code>bottom<\/code>, <code>top<\/code>, <code>right<\/code> and <code>left<\/code>.<\/p>\r\n\r\n<div>\r\n    <a data-spotlight=\"on\" data-lightbox=\"transitionIn:elastic;transitionOut:elastic;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image1_lightbox.jpg\">\r\n        <img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image1.jpg\" width=\"180\" height=\"120\" alt=\"Spotlight Image\" \/>\r\n    <\/a>\r\n    <a data-spotlight=\"effect:bottom;\" data-lightbox=\"transitionIn:elastic;transitionOut:elastic;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image2_lightbox.jpg\">\r\n        <img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image2.jpg\" width=\"180\" height=\"120\" alt=\"Spotlight Image\" \/>\r\n        <div class=\"overlay\">Custom Overlay (Bottom)<\/div>\r\n    <\/a>\r\n    <a data-spotlight=\"effect:right;\" data-lightbox=\"transitionIn:elastic;transitionOut:elastic;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image3_lightbox.jpg\">\r\n        <img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image3.jpg\" width=\"180\" height=\"120\" alt=\"Spotlight Image\" \/>\r\n        <div class=\"overlay\">Custom Overlay (Right)<\/div>\r\n    <\/a>\r\n<\/div>\r\n\r\n<div>\r\n    <a data-spotlight=\"effect:fade;\" data-lightbox=\"transitionIn:elastic;transitionOut:elastic;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image4_lightbox.jpg\">\r\n        <img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image4.jpg\" width=\"180\" height=\"120\" alt=\"Spotlight Image\" \/>\r\n        <div class=\"overlay remove-padding\"><img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image4_spotlight.jpg\" width=\"180\" height=\"120\" alt=\"Spotlight Image\" \/><\/div>\r\n    <\/a>\r\n    <a data-spotlight=\"effect:top;\" data-lightbox=\"transitionIn:elastic;transitionOut:elastic;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image5_lightbox.jpg\">\r\n        <img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image5.jpg\" width=\"180\" height=\"120\" alt=\"Spotlight Image\" \/>\r\n        <div class=\"overlay\">Custom Overlay (Top)<\/div>\r\n    <\/a>\r\n    <a data-spotlight=\"effect:left;\" data-lightbox=\"transitionIn:elastic;transitionOut:elastic;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image6_lightbox.jpg\">\r\n        <img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image6.jpg\" width=\"180\" height=\"120\" alt=\"Spotlight Image\" \/>\r\n        <div class=\"overlay\">Custom Overlay (Left)<\/div>\r\n    <\/a>\r\n<\/div>\r\n\r\n<h2>How To Use<\/h2>\r\n\r\n<p>Use the HTML5 custom data attribute <code>data-spotlight<\/code> to activate the spotlight.\r\n\r\n<pre>&lt;a data-spotlight=\"on\" href=\"\/mypage.html\"&gt;\r\n    &lt;img src=\"\/image.jpg\" width=\"180\" height=\"120\" alt=\"\" \/&gt;\r\n&lt;\/a&gt;<\/pre>\r\n\r\n<p>To create a custom overlay, use a div element with the CSS class <code>overlay<\/code>. You can set the effect parameter to the data attribute. For example:<\/p>\r\n\r\n<pre>&lt;a data-spotlight=\"effect:bottom;\" href=\"\/mypage.html\"&gt;\r\n    &lt;img src=\"\/image.jpg\" width=\"180\" height=\"120\" alt=\"\" \/&gt;\r\n    &lt;div class=\"overlay\"&gt;Custom Overlay&lt;\/div&gt;\r\n&lt;\/a><\/pre>\r\n\r\n<p>You can set the effect parameter to <code>fade<\/code>, <code>bottom<\/code>, <code>top<\/code>, <code>right<\/code> and <code>left<\/code>.","protected":false},"excerpt":{"rendered":"<p>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 for the Widgetkit lightbox. Features Create nicely animated image overlays Supports custom image or HTML content overlays 5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/v2.wesselstuinen.nl\/index.php?rest_route=\/wp\/v2\/pages\/92"}],"collection":[{"href":"https:\/\/v2.wesselstuinen.nl\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/v2.wesselstuinen.nl\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/v2.wesselstuinen.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/v2.wesselstuinen.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=92"}],"version-history":[{"count":0,"href":"https:\/\/v2.wesselstuinen.nl\/index.php?rest_route=\/wp\/v2\/pages\/92\/revisions"}],"wp:attachment":[{"href":"https:\/\/v2.wesselstuinen.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}