{"id":1829,"date":"2016-07-08T03:16:01","date_gmt":"2016-07-08T03:16:01","guid":{"rendered":"http:\/\/themes.wpbeaches.com\/venobox\/?page_id=1829"},"modified":"2016-07-08T03:41:23","modified_gmt":"2016-07-08T03:41:23","slug":"manual-markup","status":"publish","type":"page","link":"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/","title":{"rendered":"Manual Markup"},"content":{"rendered":"<p>Below are manual instructions for using the VenoBox Lightbox for your code.<\/p>\n<p>Typically for the lightbox to work you wrap a link around a text or image element.<\/p>\n<pre>&lt;a class=\"venobox\" data-type=\"vimeo\" href=\"https:\/\/vimeo.com\/1084537\"&gt;&lt;img src=\"...\" \/&gt;&lt;\/a&gt;<\/pre>\n<p>When clicked the lightbox will execute showing the linked content.<\/p>\n<p>To use <strong>Venobox<\/strong> you need to ensure the CSS class\u00a0<code>class=\"venobox\"\u00a0<\/code>is used in the link mark up and also if the lightbox content is not an image the\u00a0<code>data-type<\/code> attribute is also required\u00a0<code>data-type=\"vimeo\"\u00a0<\/code>or other Data Type, see below under Data Types.<\/p>\n<h4>Data Types<\/h4>\n<p>If the content is not an image you have to specify its type via data attribute <code>data-type<\/code><\/p>\n<p>Available data-type values: <code>youtube<\/code> <code>vimeo<\/code> <code>iframe<\/code> <code>inline<\/code> <code>ajax<\/code><\/p>\n<pre data-initialized=\"true\" data-gclp-id=\"4\">&lt;a class=\"venobox\" data-type=\"iframe\" href=\"http:\/\/www.veno.es\"&gt;Open Iframe&lt;\/a&gt;\r\n&lt;a class=\"venobox\" data-type=\"inline\" title=\"My Description\" href=\"#inline\"&gt;Open inline content&lt;\/a&gt;\r\n&lt;a class=\"venobox\" data-type=\"ajax\" href=\"ajax-call.php\"&gt;Retrieve data via Ajax&lt;\/a&gt;\r\n&lt;a class=\"venobox\" data-type=\"youtube\" href=\"http:\/\/youtu.be\/d85gkOXeXG4\"&gt;YouTube&lt;\/a&gt;\r\n&lt;a class=\"venobox\" data-type=\"vimeo\" href=\"http:\/\/vimeo.com\/75976293\"&gt;Vimeo&lt;\/a&gt;\r\n<\/pre>\n<h4>Title Attribute<\/h4>\n<p>Optional: set <code>title<\/code> attribute to show a description, it will appear at the top of the lightbox.<\/p>\n<pre data-initialized=\"true\" data-gclp-id=\"5\">&lt;a class=\"venobox\" title=\"Here is your description\" href=\"...\r\n<\/pre>\n<h4>Auto Play<\/h4>\n<p>Use <code>data-autoplay=\"true\"<\/code> to automatically start Vimeo and YouTube videos once the text or image link is clicked<\/p>\n<pre data-initialized=\"true\" data-gclp-id=\"6\">&lt;a class=\"venobox\" data-autoplay=\"true\" data-type=\"vimeo\" href=\"...\r\n&lt;a class=\"venobox\" data-autoplay=\"true\" data-type=\"youtube\" href=\"...\r\n<\/pre>\n<h4>Overlay colors<\/h4>\n<p><strong>Examples:<\/strong><br \/>\n<a class=\"venobox btn btn-default vbox-item\" href=\"#inline-1\" data-type=\"inline\" data-gall=\"colors\" data-overlay=\"rgba(95,164,255,0.8)\">Color 1<\/a> <a class=\"venobox btn btn-default vbox-item\" href=\"#inline-2\" data-type=\"inline\" data-gall=\"colors\" data-overlay=\"rgba(51,0,255,0.8)\">Color 2<\/a> <a class=\"venobox btn btn-default vbox-item\" href=\"#inline-3\" data-type=\"inline\" data-gall=\"colors\" data-overlay=\"rgba(202,45,164, 0.8)\">Color 3<\/a> <a class=\"venobox btn btn-default vbox-item\" href=\"#inline-4\" data-type=\"inline\" data-gall=\"colors\" data-overlay=\"#ffe74c\">Color 4<\/a><\/p>\n<p>Just add a <code>data-overlay\u00a0<\/code>attribute value to your links for colored backgrounds<\/p>\n<pre data-initialized=\"true\" data-gclp-id=\"9\">&lt;a class=\"venobox\" data-overlay=\"rgba(95,164,255,0.8)\" href=\"...\"&gt;...&lt;\/a&gt;\r\n&lt;a class=\"venobox\" data-overlay=\"#ca294b\" href=\"...\"&gt;...&lt;\/a&gt;\r\n<\/pre>\n<h4>Gallery<\/h4>\n<p>To activate navigation previous and next icons whilst in lighbox mode between multiple types of content on the same page, assign the same data attribute <code>data-gall<\/code> to each link, like the example below, you can see this in the colors example above.<\/p>\n<pre data-initialized=\"true\" data-gclp-id=\"8\">&lt;a class=\"venobox\" data-gall=\"myGallery\" href=\"image01-big.jpg\"&gt;&lt;img src=\"image01-small.jpg\" \/&gt;&lt;\/a&gt;\r\n&lt;a class=\"venobox\" data-gall=\"myGallery\" href=\"image02-big.jpg\"&gt;&lt;img src=\"image02-small.jpg\" \/&gt;&lt;\/a&gt;\r\n&lt;a class=\"venobox\" data-gall=\"myGallery\" href=\"image03-big.jpg\"&gt;&lt;img src=\"image03-small.jpg\" \/&gt;&lt;\/a&gt;<\/pre>\n<div id=\"inline-1\" style=\"display: none;\">\n<div style=\"background: #fff; width: 100%; height: 100%; float: left; padding: 10px;\">\n<h1>Custom<\/h1>\n<p>set different custom overlay colors for each link<\/p>\n<\/div>\n<\/div>\n<div id=\"inline-2\" style=\"display: none;\">\n<div style=\"background: #fff; width: 100%; height: 100%; float: left; padding: 10px;\">\n<h1>Background<\/h1>\n<p>set different custom overlay colors for each link<\/p>\n<\/div>\n<\/div>\n<div id=\"inline-3\" style=\"display: none;\">\n<div style=\"background: #fff; width: 100%; height: 100%; float: left; padding: 10px;\">\n<h1>Colors<\/h1>\n<p>set different custom overlay colors for each link<\/p>\n<\/div>\n<\/div>\n<div id=\"inline-4\" style=\"display: none;\">\n<div style=\"background: #fff; width: 100%; height: 100%; float: left; padding: 10px;\">\n<h1>RGBA or FULL<\/h1>\n<p>set different custom overlay colors for each link<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Below are manual instructions for using the VenoBox Lightbox for your code. Typically for the lightbox to work you wrap a link around a text or image element. &lt;a class=&#8221;venobox&#8221; data-type=&#8221;vimeo&#8221; href=&#8221;https:\/\/vimeo.com\/1084537&#8243;&gt;&lt;img src=&#8221;&#8230;&#8221; \/&gt;&lt;\/a&gt; When clicked the lightbox will execute showing the linked content. To use Venobox you need to ensure the CSS class\u00a0class=&#8221;venobox&#8221;\u00a0is used &hellip; <a href=\"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Manual Markup<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-1829","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Manual Markup - VenoBox LightBox<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Manual Markup - VenoBox LightBox\" \/>\n<meta property=\"og:description\" content=\"Below are manual instructions for using the VenoBox Lightbox for your code. Typically for the lightbox to work you wrap a link around a text or image element. &lt;a class=&quot;venobox&quot; data-type=&quot;vimeo&quot; href=&quot;https:\/\/vimeo.com\/1084537&quot;&gt;&lt;img src=&quot;...&quot; \/&gt;&lt;\/a&gt; When clicked the lightbox will execute showing the linked content. To use Venobox you need to ensure the CSS class\u00a0class=&quot;venobox&quot;\u00a0is used &hellip; Continue reading Manual Markup\" \/>\n<meta property=\"og:url\" content=\"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/\" \/>\n<meta property=\"og:site_name\" content=\"VenoBox LightBox\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-08T03:41:23+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/\",\"url\":\"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/\",\"name\":\"Manual Markup - VenoBox LightBox\",\"isPartOf\":{\"@id\":\"https:\/\/themes.wpbeaches.com\/venobox\/#website\"},\"datePublished\":\"2016-07-08T03:16:01+00:00\",\"dateModified\":\"2016-07-08T03:41:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/themes.wpbeaches.com\/venobox\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manual Markup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/themes.wpbeaches.com\/venobox\/#website\",\"url\":\"https:\/\/themes.wpbeaches.com\/venobox\/\",\"name\":\"VenoBox LightBox\",\"description\":\"Just another responsive WordPress jQuery lightbox plugin\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/themes.wpbeaches.com\/venobox\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Manual Markup - VenoBox LightBox","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/","og_locale":"en_US","og_type":"article","og_title":"Manual Markup - VenoBox LightBox","og_description":"Below are manual instructions for using the VenoBox Lightbox for your code. Typically for the lightbox to work you wrap a link around a text or image element. &lt;a class=\"venobox\" data-type=\"vimeo\" href=\"https:\/\/vimeo.com\/1084537\"&gt;&lt;img src=\"...\" \/&gt;&lt;\/a&gt; When clicked the lightbox will execute showing the linked content. To use Venobox you need to ensure the CSS class\u00a0class=\"venobox\"\u00a0is used &hellip; Continue reading Manual Markup","og_url":"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/","og_site_name":"VenoBox LightBox","article_modified_time":"2016-07-08T03:41:23+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/","url":"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/","name":"Manual Markup - VenoBox LightBox","isPartOf":{"@id":"https:\/\/themes.wpbeaches.com\/venobox\/#website"},"datePublished":"2016-07-08T03:16:01+00:00","dateModified":"2016-07-08T03:41:23+00:00","breadcrumb":{"@id":"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/themes.wpbeaches.com\/venobox\/manual-markup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/themes.wpbeaches.com\/venobox\/"},{"@type":"ListItem","position":2,"name":"Manual Markup"}]},{"@type":"WebSite","@id":"https:\/\/themes.wpbeaches.com\/venobox\/#website","url":"https:\/\/themes.wpbeaches.com\/venobox\/","name":"VenoBox LightBox","description":"Just another responsive WordPress jQuery lightbox plugin","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/themes.wpbeaches.com\/venobox\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P7HFXn-tv","_links":{"self":[{"href":"https:\/\/themes.wpbeaches.com\/venobox\/wp-json\/wp\/v2\/pages\/1829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themes.wpbeaches.com\/venobox\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/themes.wpbeaches.com\/venobox\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/themes.wpbeaches.com\/venobox\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/themes.wpbeaches.com\/venobox\/wp-json\/wp\/v2\/comments?post=1829"}],"version-history":[{"count":9,"href":"https:\/\/themes.wpbeaches.com\/venobox\/wp-json\/wp\/v2\/pages\/1829\/revisions"}],"predecessor-version":[{"id":1839,"href":"https:\/\/themes.wpbeaches.com\/venobox\/wp-json\/wp\/v2\/pages\/1829\/revisions\/1839"}],"wp:attachment":[{"href":"https:\/\/themes.wpbeaches.com\/venobox\/wp-json\/wp\/v2\/media?parent=1829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}