{"id":90,"date":"2011-06-08T11:33:28","date_gmt":"2011-06-08T11:33:28","guid":{"rendered":"http:\/\/192.168.1.50\/Themes\/2012\/Nano2\/Website_WP\/?page_id=90"},"modified":"2013-06-25T11:41:17","modified_gmt":"2013-06-25T11:41:17","slug":"lightbox","status":"publish","type":"page","link":"http:\/\/www.achilleasdbs.com\/?page_id=90","title":{"rendered":"Lightbox"},"content":{"rendered":"<p>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.<\/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> Display images, videos, HTML, Iframes, Ajax requests and SWF<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> Supports YouTube, Vimeo, MP4 (h.264), WebM and FLV movies<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> Group lightboxes and mix different content types<\/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> Load other widgets in a lightbox<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> 3 different opening and closing transitions<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> 4 different caption styles<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> Keyboard and mouse scroll wheel navigation<\/li>\r\n    <li><i class=\"uk-icon uk-icon-check\"><\/i> Built on 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>Different animations &#8211; <code>fade<\/code>, <code>elastic<\/code> and <code>none<\/code><\/p>\r\n<p class=\"gallery\">\r\n    <a data-lightbox=\"transitionIn:fade;transitionOut:fade;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image1_lightbox.jpg\"><img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image1.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a>\r\n    <a data-lightbox=\"transitionIn:elastic;transitionOut:elastic;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image2_lightbox.jpg\"><img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image2.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a>\r\n    <a data-lightbox=\"transitionIn:none;transitionOut:none;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image3_lightbox.jpg\"><img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image3.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a>\r\n<\/p>\r\n\r\n<p>Different title positions &#8211; <code>float<\/code>, <code>inside<\/code> and <code>over<\/code><\/p>\r\n<p class=\"gallery\">\r\n    <a data-lightbox=\"group:mygroup1;titlePosition:float\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image4_lightbox.jpg\" title=\"Title Position: Float\"><img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image4.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a>\r\n    <a data-lightbox=\"group:mygroup1;titlePosition:inside\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image5_lightbox.jpg\" title=\"Title Position: Inside\"><img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image5.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a>\r\n    <a data-lightbox=\"group:mygroup1;titlePosition:over;padding:0\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image6_lightbox.jpg\" title=\"Title Position: Over and Padding set to 0\"><img loading=\"lazy\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image6.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a>\r\n<\/p>\r\n\r\n<p>Various examples in one gallery (try also using the keyboard and mouse scroll wheel)<\/p>\r\n<ul>\r\n    <li><a data-lightbox=\"group:mygroup2\" href=\"http:\/\/www.youtube.com\/watch?v=R55e-uHQna0\" title=\"YouTube Video\">YouTube<\/a><\/li>\r\n    <li><a data-lightbox=\"group:mygroup2\" href=\"http:\/\/vimeo.com\/15261921\" title=\"Vimeo Video\">Vimeo<\/a><\/li>\r\n    <li><a data-lightbox=\"group:mygroup2;autoplay:true;\" href=\"http:\/\/www.yootheme.com\/videos\/mediaplayer.mp4\" title=\"MP4 (h.264)\">MP4 (h.264)<\/a><\/li>\r\n    <li><a data-lightbox=\"group:mygroup2\" href=\"http:\/\/www.adobe.com\/jp\/events\/cs3_web_edition_tour\/swfs\/perform.swf\" title=\"Flash Swf\">Swf<\/a><\/li>\r\n    <li><a data-lightbox=\"group:mygroup2\" href=\"#inline\" title=\"Inline Content from the Website\">Inline<\/a><\/li>\r\n    <li><a data-lightbox=\"group:mygroup2;width:1000;height:600\" title=\"Iframe\" href=\"http:\/\/www.wikipedia.org\">Iframe<\/a><\/li>\r\n<\/ul>\r\n\r\n<div style=\"display: none;\">\r\n    <div id=\"inline\" style=\"width: 400px; height: 100px; overflow: auto;\">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<\/div>\r\n<\/div>\r\n\r\n<h2>Load Widgets In A Lightbox<\/h2>\r\n<p>Use <code>#wk-ID<\/code> to load widgets like slideshows or galleries in a lightbox. For example: <a data-lightbox=\"width:600;height:300;\" href=\"#wk-50\" title=\"Widgetkit Slideshow\">Widgetkit Slideshow<\/a><\/p>\r\n<pre>&lt;a data-lightbox=&quot;width:600;height:300;&quot; href=&quot;#wk-10&quot;&gt;Lightbox&lt;\/a&gt;<\/pre>\r\n\r\n<h2>How To Use<\/h2>\r\n\r\n<p>Use the HTML5 custom data attribute <code>data-lightbox<\/code> to activate the lightbox. You can set various lightbox parameters to the data attribute. For example:<\/p>\r\n\r\n<pre>&lt;a data-lightbox=&quot;width:1000;height:600;&quot; href=&quot;http:\/\/www.wikipedia.org&quot;&gt;Lightbox&lt;\/a&gt;<\/pre>\r\n\r\n<p>Here is a list of the most common parameters:<\/p>\r\n\r\n<ul>\r\n    <li><strong>titlePosition<\/strong> &#8211; How should the title show up? (<code>float<\/code>, <code>outside<\/code>, <code>inside<\/code> or <code>over<\/code>)<\/li>\r\n    <li><strong>transitionIn<\/strong> &#8211; Set a opening transition. (<code>fade<\/code>, <code>elastic<\/code>, or <code>none<\/code>)<\/li>\r\n    <li><strong>transitionOut<\/strong> &#8211; Set a closing transition (<code>fade<\/code>, <code>elastic<\/code>, or <code>none<\/code>)<\/li>\r\n    <li><strong>overlayShow<\/strong> &#8211; Set to <code>true<\/code> or <code>false<\/code><\/li>\r\n    <li><strong>scrolling<\/strong> &#8211; Set to <code>yes<\/code> or <code>no<\/code><\/li>\r\n    <li><strong>width<\/strong> &#8211; Set a width in pixel<\/li>\r\n    <li><strong>height<\/strong> &#8211; Set a height in pixel<\/li>\r\n    <li><strong>padding<\/strong> &#8211; Set a padding in pixel<\/li>\r\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>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 Responsive design to fit all [&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":"http:\/\/www.achilleasdbs.com\/index.php?rest_route=\/wp\/v2\/pages\/90"}],"collection":[{"href":"http:\/\/www.achilleasdbs.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.achilleasdbs.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.achilleasdbs.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.achilleasdbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=90"}],"version-history":[{"count":0,"href":"http:\/\/www.achilleasdbs.com\/index.php?rest_route=\/wp\/v2\/pages\/90\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.achilleasdbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}