Good afternoon,
I need a help because I built a horizontal page that besides the scroll of the mouse it also uses the arrows on the side for the movement, but the more you press the arrows, the more it advances regardless if you have reached the bottom of the page or not , I sent the code I used, could you give me some help:
var projObj = null;
function init(){
projObj = document.getElementById('PagProjetos');
projObj.style.position= 'relative';
projObj.style.right = '0px';
}
function moveRight(){
projObj.style.right = parseInt(projObj.style.right) + 600 + 'px';
}
function stop(){
projObj.style.right = '0px';
}
window.onload =init;
Thank you very much