Good, on my page I have an iframe and on top of this 3 buttons, one to do Scroll Up, another Scroll Down and another to pause the Scroll.
<html>
<head>
<script>
function scrollAbajo(){
var myIframe=document.getElementById('iframe');
myIframe.contentWindow.scrollTo(0,500);
}
</script>
</head>
<body>
<input type="button" name="subir" value="Subir"/>
<input type="button" name="bajar" value="Bajar" onclick="scrollAbajo()"/>
<input type="button" name="pausa" value="Pausa"/>
<br>
<iframe src="http://www.w3schools.com" id="iframe">
</iframe>
</body>
This is my code, and I have to say it's the first time I've worked with things like that and the truth is that I can not make it work. So far I have done the function to make it go down, and then with that, continue with the rest, but nothing at all.