Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Help me turn this into a plugin (lightbox)

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #145051
    mdrd88
    Participant

    Hello!
    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)
  • The forum ‘JavaScript’ is closed to new topics and replies.