Codeinwp / Nivo-Lightbox-jQuery

A simple, flexible, responsive, retina-ready jQuery lightbox plugin.
http://dev7studios.com/nivo-lightbox
MIT License
157 stars 87 forks source link

Can you add some class distinction between Inline and Images #57

Open amiga-500 opened 9 years ago

amiga-500 commented 9 years ago

When a link is clicked and shows an image it uses the

tag with a class: nivo-lightbox-wrap However, when a link that is clicked and shows inlined html it uses the same
tag with the same class: nivo-lightbox-wrap.

This is fine but if one wanted to apply some different css settings for inline popups but need access to the main parent holder (the one that has the class: nivo-lightbox-wrap) it makes since the css wont know which is popped up.

Right now i added code in your js file that adds "inlined" as another class on the same

as nivo-lightbox-wrap ... in other words it looks like class="nivo-lightbox-wrap inlined" ... that way my css will apply new changes to the inlined container.