I am working on a lightbox that is working pretty well for my project and I was wondering if I could get some help on turning this into a plugin? http://codepen.io/mdrd88/pen/aDIGL
I have it working currently, however, I need it to work for multiple elements. I was thinking of having the plugin do something like “if anchor id=”this” do lightbox animation to div with id of”this” ” would that work? I found this https://css-tricks.com/snippets/jquery/jquery-plugin-template/ but it makes my head spin whenever I look at it.
Forgive my noobnees I’ve only used other plugins, never developed my own.
Viewing 1 post (of 1 total)