Is there a possibility for a script whic scroll down to an anchor after 3sec if the user hasn't scrolled down to this anchor?
I've tried to do something with i/else statements but since I'm very new to js and wix code it's a hard time for me. I've tried to do it around these lines of code:
$w.onReady( function() {
setTimeout(function (parameter) {
$w("#anchor1").scrollTo()
}, 2000)
});
Thank you very much for your help in advance.
Raphael
Aucun commentaire:
Enregistrer un commentaire