how to stop jquery imageslider on mouse hover

后端 未结 4 1121
醉梦人生
醉梦人生 2021-01-16 03:40

this is my website demo : http://daplonline.in/index5.php

i got this jquery from : http://designm.ag/tutorials/image-rotator-css-jquery/

i want to stop slide

4条回答
  •  旧巷少年郎
    2021-01-16 04:14

    try this,

    $('.image_thumb ul li').on("mouseover",function(){
      clearInterval(intervalID);
    });
    
    $('.image_thumb ul li').on("mouseout",function(){
      intervalID = setInterval(cycleImage, slidetime);
    });
    

    add this at the end of your coding...

提交回复
热议问题