You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
I want to add a class after div.fancybox-container for example: fancybox-photo-viewer-mh <div class="fancybox-container fancybox-photo-viewer-mh fancybox-show-toolbar fancybox-show-caption fancybox-show-nav fancybox-is-open fancybox-is-zoomable fancybox-can-zoomIn" role="dialog" tabindex="-1" id="fancybox-container-2" style="transition-duration: 366ms;">
I used the .addclass method but it didn't work. Can anyone help me!
The text was updated successfully, but these errors were encountered:
Have you tried using mainClass option? Also, you can use any callback to do whatever you need. Every callback receives first parameter as reference to the current instance. And you can use it to access various DOM elements.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to add a class after div.fancybox-container for example: fancybox-photo-viewer-mh
<div class="fancybox-container fancybox-photo-viewer-mh fancybox-show-toolbar fancybox-show-caption fancybox-show-nav fancybox-is-open fancybox-is-zoomable fancybox-can-zoomIn" role="dialog" tabindex="-1" id="fancybox-container-2" style="transition-duration: 366ms;">
I used the .addclass method but it didn't work. Can anyone help me!
The text was updated successfully, but these errors were encountered: