Bubu a écrit :
Hello, excuse me bu I'm not a programmer.
I have two frames, left navigation, right main
I understand you work with a framed page
In the left I have two buttons (up and down), I need to scroll the
mainFrame up when I push the up button and down when I press the down
button.
why don't you let the browser to display the vertical lift in your
mainFrame ? (lift = scrollbar)
I have search in google, but I have not found a working script.
perhaps could you try something like :
<button onclick="parent.mainFrame.scrollBy(0,12);">down</button>
<button onclick="parent.mainFrame.scrollBy(0,-12);">up</button>
or :
<a href="#"
onmouseover="truc=setInterval(function() {
parent.mainFrame.scrollBy(0,5);},100}"
onmouseout="clearInterval(truc);"
onclick="return false;"><img src="down.jpg"></a>
<a href="#"
onmouseover="truc=setInterval(function() {
parent.mainFrame.scrollBy(0,-5);},100}"
onmouseout="clearInterval(truc);"
onclick="return false;"><img src="up.jpg"></a>
Not tested ...
--
ASM