js et je veux mettre en pause le curseur lorsque la souris hover la balise h1, mais il n'a pas, je sais que c'est un problème avec javascript mais je ne suis pas en mesure de faire cela fonctionnefullpagejs pause sur vol stationnaire
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();
});
}
});
Toute aide serait appréciée, Merci
Nice merci, il semble fonctionner plutôt bien – colapsnux