JS를 일시 중지하고 나는 마우스 H1 태그를 마우스를 가져 가면 슬라이더를 일시 정지하고 싶지만, 나는이 자바 스크립트에 문제가 있다고 알고하지 않습니다하지만 난 그것을 작동하게 할 수 아니에요fullpagejs 호버
http://jsfiddle.net/2dhkR/405/
$(document).ready(function() {
$('#fullpage').fullpage({
sectionsColor: ['#1bbc9b', '#4BBFC3'],
loopBottom: true,
afterRender: function() {
setInterval(function() {
$.fn.fullpage.moveSlideRight();
}, 3000);
}
});
// the function - set var up just in case
// the timer isn't running yet
var timer = null;
function startSetInterval() {
timer = setInterval(showDiv, 5000);
}
// start function on page load
startSetInterval();
// hover behaviour
function showDiv() {
$('#fullpage h1').hover(function() {
clearInterval(timer);
}, function() {
startSetInterval();
});
}
});
어떤 도움을 주시면 감사하겠습니다, 감사합니다
좋은 반응을 얻으 셨습니다. 꽤 좋은 – colapsnux