Designer News
Where the design community meets.
Dev front @ mention Joined almost 8 years ago
Nicolas hasn't posted any stories yet.
Thank you for sharing Volodymyr,
I am the co-founder of Bazaar. The platform is still in beta so we are limiting invitations, but 40 invitations are available here: https://bazaar.co/u/helloDesignerNews
Would love to hear your feedback
It's not vanilla.js its chocolat.js
(maybe ported to vanilla one day)
Hi, good news, you can actually pass json instead of "dom nodes". See the property images
It takes a collection, like this: [{src:'img1.jpg', title: 'title1'}, {src:'img2.jpg', title: 'title2'}, ..]
More info here : https://github.com/nicolas-t/Chocolat#parameters
The main idea was to keep it really simple for two reasons: new users can use it easily advanced users can improve it with ease.
You seem to be one of the advanced users, you should definitly download the package and take a look at the demos, (dist/index.html) the last example shows you the use of the API, (and json loaded images)
Don't hesitate to open an issue on github if you have any questions.
Nicolas,
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.
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 (?)
haha :D Here is a link to the designer website : www.maximechillemi.com
Hi! unfortunately not yet (but you can easily increase the clickable size of the arrows)
Hi there, I'm the author of the plugin, if you have any question/suggestion please do :)
Nicolas
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Thank you Dustin,
It happened because the 40 invitation codes have been used. We've just improved the error message.