28 comments

  • Jonathon HalliwellJonathon Halliwell, almost 4 years ago

    More impressed by the site, really nice!

    9 points
  • Ed AdamsEd Adams, almost 4 years ago

    The images here are absolutely mental. I particularly the enjoy the one of a huge bar of chocolate floating in a swimming pool while a horse wearing a towel looks on in awe.

    Also, it sucks there's no transition animations out of the box.

    7 points
    • Lucas MottaLucas Motta, almost 4 years ago

      I like that there's no animations out of the box – maybe it would be useful to have it as an optional external dependency.

      1 point
  • Nicolas Turlais, almost 4 years ago

    Hi there, I'm the author of the plugin, if you have any question/suggestion please do :)

    Nicolas

    4 points
    • Can GoktasCan Goktas, almost 4 years ago

      Do you support swiping on mobile devices? Clicking tiny little arrows on a phone doesn't feel comfortable nowadays.

      2 points
    • M. AppelmanM. Appelman, almost 4 years ago

      Wouldn't this be considered a carousel instead of a lightbox?

      0 points
      • Nicolas Turlais, almost 4 years ago

        It depends on if you use it within a container or fullWindow :) It can be a carousel as well as a lightbox, maybe that's the power of chocolat (?)

        0 points
    • Rick LanceeRick Lancee, almost 4 years ago

      Why do you animate the margin and top,left,bottom,right positions, instead of transforms? If for no reason, then i would suggest using the transforms properties. It will increase the performance a lot; since it doesn't cause a paint and layout event to occur.

      Other than that i really like it and will definitely try it out in a project.

      1 point
      • Nicolas Turlais, almost 4 years ago

        Yep, I kept the positions properties because of older IE compt, but i think now it's time to use CSS transform instead. I will do this soon.

        1 point
    • Clay MacTavishClay MacTavish, almost 4 years ago (edited almost 4 years ago )

      So I'm wondering how the data is loaded into the lightbox. How are you building the lightbox slides? Do you plan on extending the plugin to allow for JSON instead of scraping the page and looking for

    • and data attributes?

      I was recently building an Pinterest-Instagram-type clone (used the bluimp gallery, available on github) and I wanted my users to be able to view nth items per page but swipe/scroll through the entire set once a lightbox slide was up. The only way to do this is to load the data in another way.

      Do you mind talking a little bit about the javascript you wrote? Design patterns? Is the API going to be extended to allow for JSON? If so I may use this for the next version of my app.

      Fuck it, I'll fork it.

      good job

0 points