Transition for HTML gallery slides #580
              
                Unanswered
              
          
                  
                    
                      rowanwernham
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| 
         Hi, See https://fancyapps.com/fancybox/api/options/#component-hierarchy Fancybox.bind('[data-fancybox="gallery"]', {
  // Transition effect when changing gallery items
  Carousel: {
    transition: "slide",
  },
  // Disable image zoom animation on opening and closing
  Images: {
    zoom: false,
  },
  // Custom CSS transition on opening
  showClass: "f-fadeIn",
}); | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I cannot find in your docs what the config option is to set the transitions between slides.
I have a series of HTML elements showing in my lightbox, they navigate via click just fine with what looks like the default fade transition, and i can drag to swipe between them. But i want to set the transition on click to 'slide'
in my config i've tried:
because i used that previously in another project, and a few other guesses like
transition: "slide"which worked for my carousel.Does it need to be inside a settings group for the HTML plugin?
Is this in the docs? I've searched!!!
Beta Was this translation helpful? Give feedback.
All reactions