Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

An other selctor ?

Hello Nick,

First, thanks for the plugin, I like a lot the idea of unobstrusive full size image or video lightbox. I use Strip the classic way as describe in the doc and works perfectly.

Please, is there a possibilty to use an other selector. In some pages I've have something like this:

<figure class="strip or something else">
<a href="Image or Youtube or Vimeo">
<img src="myimage.jpg" alt="">

Class is added dynamically in the figure, very difficult to add it in the a tag. Do you think there in an easy way to use Strip in this case ? also, these pages can already use Strip the classic way in a gallery :(

Thank you,


  • Whatever is adding the figure dynamically, you could extend that to also put a class on the A tag within.

    $(document).ready(function() {
      $('figure.someclass a').addClass('strip');
  • Why complicate things when they can be simple..
    I should have thought about this before...
    Thank you for fast response!

Sign In or Register to comment.