View Single Post
  #11 (permalink)  
Old October 6th, 2009, 12:01 AM
iamrakesh22 iamrakesh22 is offline
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

The event you are using for scrolling those blocks is onmousemove, and the example i gave uses "onmouseover". Try changing the "onmouseover" event in "start()" and "stop()" functions to "onmousemove"!
Code:
function start() {
            document.getElementById('hmenu').onmousemove = autoscroll(e);
        }
        // function to stop the move over event
        function stop() {
            document.getElementById('hmenu').onmousemove = null;
        }
__________________
- Rakesh
http://iam-rakesh.blogspot.com