Click to See Complete Forum and Search --> : Scroll Bars in frames


Kurhen
09-16-2003, 02:44 PM
I am using a frameset where one of the frames has vertical and horizontal scroll bars. I have to be able to recognize what bar user touches and show or hide some elements on the frame. But <body> has only one event - onScroll(). Tried to use document.thisForm.scrollLeft or document.thisForm.srollHeight. Does not work! Please help!!

Khalid Ali
09-16-2003, 03:09 PM
I think what you can do is get the scrollTop or scrollLeft values and if they are >0 then do your tests