Start the lightbox via a card


Topic: Start the lightbox via a card

jore pro premium priority asked 4 years ago

Hello, I want to start a lightbox via a card. This should contain several images. Is that possible?

Resources (screenshots, code snippets etc.)

https://mdbootstrap.com/snippets/standard/jore/2882826

Thank you for your help.


Grzegorz Bujański staff answered 4 years ago

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#


jore pro premium priority answered 4 years ago

Thank you very much for helping.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • 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