Stuck with Java script

software development


I’m following the slidescroll javascript from (, trying to add graphical buttons so I can scroll a frame by having the mouse on top of arrow bars.

I included the following code in my HTML:

Then for control:

However when I load the website I get the following warning:

“Element scrollLeft not found”
“Element scrollRight not found”

What am I doing wrong here? Help!


Did you follow the instructions? The elements have to exist before JavaScript can do anything with them.

[code]Anywhere in the document BELOW all the involved images and scrollable divs/iframes, insert the
following tags, replacing the parameters with suitable values as shown in the examples.