Your Cart

Reply To: animate .resize twelve theme

These forums are now closed to new replies / tickets.

Please open a support ticket from our new Support page.

Front Page Forums Problems animate .resize twelve theme Reply To: animate .resize twelve theme

gravatar
Scot Taylor
February 2, 2015 at 12:41 pm

‘ infoBtn.click(function() {

        if(TriggerClick==0) {
            TriggerClick=1;
            galleryBtn.css('visibility', 'hidden');
            gallery.resize({width: '70%'});
            $('.galleria-info').toggle("fast", "linear");
            nextSlide.toggle();
            prevSlide.toggle();

        }else {
            TriggerClick=0;
            $('.galleria-info').toggle("fast", "linear").promise().done(function(){
                gallery.resize({width: '100%'});
            });  
            galleryBtn.css('visibility', 'visible');
            nextSlide.toggle();
            prevSlide.toggle();



        };
    });

‘ It’s not perfect and pretty close to what I posted as a
problem earlier but it is close to the effect I was going for.
Maybe it will help somebody else looking for something similar.


Galleria.io uses cookies to store information. You can read more about that in our Privacy Policy. I understand