Topic: lightbox transitions

jumpshotink priority asked 5 years ago


Is there a way to add a transition to the images in lightbox (for example, fade in)?

Thanks.


jumpshotink priority answered 5 years ago


Hi Piotr,

Thanks for the response. I was able to get the animations on load but I was curious about transitions once the lightbox was running (going from slide to slide when you click on the arrow buttons).

Thanks.


MDBootstrap staff commented 5 years ago

You can accomplish that by editing file /mdb-addons/mdb-lightbox-ui.html. Add desired classes to elements that you want to get animated on picture change. I can not show you how exactly you can make it work in snippet because this is our external addon file implemented in the package. This is a nice suggestion we will discuss adding this feature.


MDBootstrap staff answered 5 years ago


Hi jumpshotink,

I created a snippet with animating images on a load of the lightbox. https://mdbootstrap.com/snippets/jquery/pjoter-2-0/1046466

We do not support animations on opening slideshow mode.

If you need additional help I am here for you.

Best Regards, Piotr



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.8.8
  • Device: iMac
  • Browser: Firefox
  • OS: Mac OS 10.11.6
  • Provided sample code: No
  • Provided link: No
Tags