I'm using
<div style="height:500px;width:500px;overflow:auto;">
...CODE...
</div>
When I add an onscroll="alert();" I get the alert box.
However, when I reference the div via an ID and try
to make it scroll I get an "object doesn't support this property or method".
I've tried
document.all.divid.scroll(x,y);
scrollTo(x,y);
scrollBy(x,y);
Does any one have any ideas.
<div style="height:500px;width:500px;overflow:auto;">
...CODE...
</div>
When I add an onscroll="alert();" I get the alert box.
However, when I reference the div via an ID and try
to make it scroll I get an "object doesn't support this property or method".
I've tried
document.all.divid.scroll(x,y);
scrollTo(x,y);
scrollBy(x,y);
Does any one have any ideas.