Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser taking too much memory when I use transition option with an array. #130

Open
GerardoTorossi opened this issue Jul 27, 2016 · 0 comments

Comments

@GerardoTorossi
Copy link

Hi Jay.
First of all, congratulations for this slideshow, I think it's great.
I have an issue and I can't find a solution. I tried to set different effects for the transition with an array, but when I use this option, I realized my browser (I checked with FF and Chrome) start to use memory, more and more, and doesn't stop, but if I comment this option everything it's ok.
This is my code :

  $('#slider').vegas({
            slides: [
                    { src: 'imagenes/producto/1440x720_1.jpg' },
                    { src: 'imagenes/producto/1440x720_2.jpg' },
                    { src: 'imagenes/producto/1440x720_6.jpg' } 
                    ],
           walk: function (index, slideSettings) {
                    /* this code it's not important */
                    var ind = (ind > 3) ? 0 : index + 1;
                    var txt = titulos[index];
                    $('slidertitulo').html(txt);
            },
            transitionDuration: 2500,
            delay: 5000,
            timer: false,
            shuffle: false,
            /* transition: [ 'fade', 'blur', 'zoomOut', 'flash', 'swirlRight', 'swirlLeft' ], */
            overlay: 'js/07.png'
        });

i will appreciate it any tip or help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants