[thelist] onscroll

Bill Hughey zephod at drizzle.com
Fri Oct 17 18:39:11 CDT 2003


Question: Is there an equivalent event for netscape?  I am trying to link
two scrolling divs together, but they cannot be the same div.  The
application is a viewport window onto a chart with left-vertical and
top-horizontal scale bars that move with the main viewport, but indepent of
each other.  In other words a horizontal motion scrolls the main window and
the top-horizontal scale bar, but not the left-vertical scale bar.

On IE, I can link the two div's with
   hDiv.scrollLeft=BMIDiv.scrollLeft;
    wDiv.scrollTop=BMIDiv.scrollTop;

However, this does not work on Netscape as it doesn't emit the onscroll
event.

ANy suggestions?



More information about the thelist mailing list