Topic: Start the lightbox via a card
jore priority asked 1 year ago
Hello, I want to start a lightbox via a card. This should contain several images. Is that possible?
Resources (screenshots, code snippets etc.)
Thank you for your help.
You can add Lightbox with
d-none class to hide it. Then add some js to the button to open the Lightbox, like in this example: https://mdbootstrap.com/docs/standard/components/lightbox/#section-outside-access.
Look at this snippet: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/2895022#
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: PC
- Browser: Edge, Chrome, Opera
- OS: Windows 10 Pro
- Provided sample code: No
- Provided link: Yes