From 22c498b5f3dba11a1c9bd66a830c75d0cac455a0 Mon Sep 17 00:00:00 2001 From: Victor Diego Date: Tue, 22 Aug 2017 19:33:50 -0300 Subject: [PATCH] Documentation/examples updated --- README.md | 10 +++++----- index.html | 32 ++++++++++++++++---------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 6955dec..e7d1ed6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Everything you'll need is located under the [`lightbox/`](lightbox/) directory. Add the `data-lightbox` attribute to an `` tag and set its `href` to the content you want to be opened in the lightbox. When opening an image, you can send its alt text using the `data-image-alt` attribute: ```html - + Image @@ -48,13 +48,13 @@ Set the `data-lightbox` attribute to `"gallery"` on all `` tags under the sam ```html diff --git a/index.html b/index.html index 9b64542..f69558e 100644 --- a/index.html +++ b/index.html @@ -53,10 +53,10 @@

Get Started

Usage


-

Add the data-lightbox attribute to an <a> tag and set its href to the content you want to be opened in the lightbox. When opening an image, you can send its alt text using the data-image-alt attribute:

+

Add the data-lightbox attribute to an <a> tag and set its href to the content you want to be opened in the lightbox. When opening an image, you can send its alt text using the data-image-alt attribute:



-
<a href="assets\dist\img\image-1.png" data-lightbox data-image-alt="Image 1">
+      
<a href="assets/dist/img/image-1.png" data-lightbox data-image-alt="Image 1">
   Image
 </a>
 <a href="#modal" data-lightbox>
@@ -110,40 +110,40 @@ 

Welcome!

Gallery


- Set the data-lightbox attribute to "gallery" on all <a> tags under the same parent element and any previous or next items will be found automatically:

+ Set the data-lightbox attribute to "gallery" on all <a> tags under the same parent element and any previous or next items will be found automatically:



<div class="gallery">
   <div class="gallery-item">
-    <a href="assets\dist\img\image-1.png" data-lightbox="gallery" data-image-alt="Image 1">
-      <img src="assets\dist\img\thumbnail-gallery.png" alt="Thumbnail 1">
+    <a href="assets/dist/img/image-1.png" data-lightbox="gallery" data-image-alt="Image 1">
+      <img src="assets/dist/img/thumbnail-gallery.png" alt="Thumbnail 1">
     </a>
   </div>
   <div class="gallery-item">
-    <a href="assets\dist\img\image-2.png" data-lightbox="gallery" data-image-alt="Image 2">
-      <img src="assets\dist\img\thumbnail-gallery.png" alt="Thumbnail 2">
+    <a href="assets/dist/img/image-2.png" data-lightbox="gallery" data-image-alt="Image 2">
+      <img src="assets/dist/img/thumbnail-gallery.png" alt="Thumbnail 2">
     </a>
   </div>
 </div>