Menu icon Foundation
Clearing lightbox with SVG files?

Hi,

Are there any issues in principle in using SVG files with a clearing lightbox? Something like the code below.

I think I've setup the Javascript and HTML correctly but I'm not seeing the lightbox appearing.

Thanks,

Stu

  <ul class="clearing-thumbs" data-clearing>
    <li>
      <a href="my.svg">
        <img width="150" src="my.svg"/>
      </a>  
    </li>
  </ul>
            

         

lightboxsvgclearing lightbox

Hi,

Are there any issues in principle in using SVG files with a clearing lightbox? Something like the code below.

I think I've setup the Javascript and HTML correctly but I'm not seeing the lightbox appearing.

Thanks,

Stu

  <ul class="clearing-thumbs" data-clearing>
    <li>
      <a href="my.svg">
        <img width="150" src="my.svg"/>
      </a>  
    </li>
  </ul>
            

         
Stuart Hungerford almost 5 years ago

I should add I've @include'd thumb(); on the element too.

Stu