1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Why my script is very slow in overmouse?

Discussion in 'JavaScript' started by laurabowie, Jan 11, 2016.

  1. #1
    Hello guys!

    I am writing here because i have added a new script in my website and when I hover with the mouse it works more slowly, but i don´t have code for this event.

    Why does it work more slowly with the mouse over?

    https://www.prot-on.com/Landing/index.html#quien

    https://www.prot-on.com/Landing/js/slick.min.js



    /* Logos */
    $('.logos').slick({
    infinite: true,
    speed: 15000,
    autoplay: true,
    autoplaySpeed: 0,
    slidesToShow: 6,
    slidesToScroll: 6,
    pauseOnMouseOver: true,
    responsive: [
    {
    breakpoint: 600,
    settings: {
    speed: 15000,
    autoplay: true,
    autoplaySpeed: 0,
    slidesToShow: 2,
    slidesToScroll: 6,
    swipe: true,
    }
    },
    {
    breakpoint: 480,
    settings: {
    speed: 15000,
    autoplay: true,
    autoplaySpeed: 0,
    slidesToShow: 2,
    slidesToScroll: 6,
    swipe: true,
    }
    }
    ]
    });
     
    laurabowie, Jan 11, 2016 IP
  2. David@CDNsun

    David@CDNsun Active Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #2
    Can you provide more details? Hover over what? I have noticed that you have a moving stripe of logos and they got stucked for a while when your 3 slides slideshow changes. Is it what you are referring to?
     
    David@CDNsun, Jan 11, 2016 IP
  3. laurabowie

    laurabowie Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Hi, thank you for you reply.

    Yes! I referring that I need the same move all the time. No Stop never. I don´t know why change it. :(

    Sorry for disturb
     
    laurabowie, Jan 11, 2016 IP
  4. laurabowie

    laurabowie Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #4
    Hello David, why my script slow change during the process? I'm going crazy spinning about myself!

    Can you help me, please?
     
    laurabowie, Jan 12, 2016 IP
  5. Quadropus

    Quadropus Active Member

    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    Digital Goods:
    1
    #5
    The slick library has a settings property called "pauseOnHover" which is set to "true" by default:
    http://kenwheeler.github.io/slick/

    Try adding "pauseOnHover: false" to your settings JSON object.
     
    Quadropus, Feb 18, 2016 IP