{"id":90,"date":"2011-06-08T11:33:28","date_gmt":"2011-06-08T11:33:28","guid":{"rendered":"http:\/\/www.dermatologue.com\/?page_id=90"},"modified":"2012-06-06T14:18:11","modified_gmt":"2012-06-06T14:18:11","slug":"lightbox","status":"publish","type":"page","link":"https:\/\/www.dermatologue.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>\n<h2>Features<\/h2>\n<ul class=\"check\">\n<li>Display images, videos, HTML, Iframes, Ajax requests and SWF<\/li>\n<li>Supports YouTube, Vimeo, MP4 (h.264), WebM and FLV movies<\/li>\n<li>Group lightboxes and mix different content types<\/li>\n<li>Responsive design to fit all device resolutions<\/li>\n<li>Load other widgets in lightbox<\/li>\n<li>3 different opening and closing transitions<\/li>\n<li>4 different caption styles<\/li>\n<li>Keyboard and mouse scroll wheel navigation<\/li>\n<li>Build on the latest jQuery version<\/li>\n<li>Works with Joomla and WordPress<\/li>\n<\/ul>\n<h2>Examples<\/h2>\n<p>Different animations &#8211; <code>fade<\/code>, <code>elastic<\/code> and <code>none<\/code><\/p>\n<p class=\"gallery\">\n\t<a data-lightbox=\"transitionIn:fade;transitionOut:fade;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image1_lightbox.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image1.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a><br \/>\n\t<a data-lightbox=\"transitionIn:elastic;transitionOut:elastic;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image2_lightbox.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image2.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a><br \/>\n\t<a data-lightbox=\"transitionIn:none;transitionOut:none;\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image3_lightbox.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image3.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a>\n<\/p>\n<p>Different title positions &#8211; <code>float<\/code>, <code>inside<\/code> and <code>over<\/code><\/p>\n<p class=\"gallery\">\n\t<a data-lightbox=\"group:mygroup1;titlePosition:float\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image4_lightbox.jpg\" title=\"Title Position: Float\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image4.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a><br \/>\n\t<a data-lightbox=\"group:mygroup1;titlePosition:inside\" href=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image5_lightbox.jpg\" title=\"Title Position: Inside\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image5.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a><br \/>\n\t<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\" decoding=\"async\" src=\"wp-content\/uploads\/yootheme\/widgetkit\/lightbox\/image6.jpg\" width=\"180\" height=\"120\" alt=\"Lightbox Image\" \/><\/a>\n<\/p>\n<p>Various examples in one gallery (try also using the keyboard and mouse scroll wheel)<\/p>\n<ul>\n<li><a data-lightbox=\"group:mygroup2\" href=\"http:\/\/www.youtube.com\/watch?v=R55e-uHQna0\" title=\"YouTube Video\">YouTube<\/a><\/li>\n<li><a data-lightbox=\"group:mygroup2\" href=\"http:\/\/vimeo.com\/15261921\" title=\"Vimeo Video\">Vimeo<\/a><\/li>\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>\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>\n<li><a data-lightbox=\"group:mygroup2\" href=\"#inline\" title=\"Inline Content from the Website\">Inline<\/a><\/li>\n<li><a data-lightbox=\"group:mygroup2;width:1000;height:600\" title=\"Iframe\" href=\"http:\/\/www.wikipedia.org\">Iframe<\/a><\/li>\n<\/ul>\n<div style=\"display: none;\">\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>\n<\/div>\n<h2>Load Widgets In A Lightbox<\/h2>\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-555\" title=\"Widgetkit Slideshow\">Widgetkit Slideshow<\/a><\/p>\n<pre>&lt;a data-lightbox=&quot;width:600;height:300;&quot; href=&quot;#wk-10&quot;&gt;Lightbox&lt;\/a&gt;<\/pre>\n<h2>How To Use<\/h2>\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>\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>\n<p>Here is a list of the most common parameters:<\/p>\n<ul>\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>\n<li><strong>transitionIn<\/strong> &#8211; Set a opening transition. (<code>fade<\/code>, <code>elastic<\/code>, or <code>none<\/code>)<\/li>\n<li><strong>transitionOut<\/strong> &#8211; Set a closing transition (<code>fade<\/code>, <code>elastic<\/code>, or <code>none<\/code>)<\/li>\n<li><strong>overlayShow<\/strong> &#8211; Set to <code>true<\/code> or <code>false<\/code><\/li>\n<li><strong>scrolling<\/strong> &#8211; Set to <code>yes<\/code> or <code>no<\/code><\/li>\n<li><strong>width<\/strong> &#8211; Set a width in pixel<\/li>\n<li><strong>height<\/strong> &#8211; Set a height in pixel<\/li>\n<li><strong>padding<\/strong> &#8211; Set a padding in pixel<\/li>\n<\/ul>\n","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":{"footnotes":""},"class_list":["post-90","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.dermatologue.com\/index.php?rest_route=\/wp\/v2\/pages\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dermatologue.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.dermatologue.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.dermatologue.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dermatologue.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=90"}],"version-history":[{"count":9,"href":"https:\/\/www.dermatologue.com\/index.php?rest_route=\/wp\/v2\/pages\/90\/revisions"}],"predecessor-version":[{"id":576,"href":"https:\/\/www.dermatologue.com\/index.php?rest_route=\/wp\/v2\/pages\/90\/revisions\/576"}],"wp:attachment":[{"href":"https:\/\/www.dermatologue.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}