cbopp-art / lightcase

The smart and flexible Lightbox Plugin.
https://cornel.bopp-art.com/lightcase/
Other
400 stars 106 forks source link

navigation button tied to image #166

Open armlan opened 5 years ago

armlan commented 5 years ago

Hi there, first congrat to this plugin. Want to bind the pre, next, close button to the image size,,,,looked everywhere, but didn't find out how to do. Any suggestions?

cbopp-art commented 5 years ago

Hi This wouldn’t be a big deal. You can redefine the markup to all the a-tags placed inside the container you need and change the css styles accordingly.

Markup is a simple property you can change to your needs. See: https://cornel.bopp-art.com/lightcase/documentation/#property-markup

Hope this helps!

On 9 Feb 2019, at 19:20, armlan notifications@github.com wrote:

Hi there, first congrat to this plugin. Want to bind the pre, next, close button to the image size,,,,looked everywhere, but didn't find out how to do. Any suggestions?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

mxwssl commented 3 years ago

Hey, appreciate this plugin, too. Well done. Used it so often. But I also struggled with the markup-function many times. How do I redefine the box-markup correctly as the dom-elements are assigned to a scoped _self-variable and are used further in the source? Can't access the objects-property from outside, am I wrong?!

Thank you!