|
#1
|
|||
|
|||
|
Scroll Button
K I have the code to make it so that when I click on a button it will move the the page of an Iframe:
javascript arent.IFRAME.scrollBy(0,10)But I want it so that when the cursor goes over the button it will constantly go up. So I tryed this: onMouseOver="parent.IFRAME.scrollBy(0,10) That handles the mouse over, but how can I make it loop around and repeat, so that it constantly goes up? -Thanx' |
|
#2
|
|||
|
|||
|
You'd probably need to have two seperate functions, one triggered onmouseover which makes it go and uses setInterval to make it keep going. You'll then need one on the mouseout which stops it going by calling clearInterval
__________________
Don't forget to post back with the results |
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 04:50 PM.
[
RSS ]



arent.IFRAME.scrollBy(0,10)




