I'm trying to modify www.dyn-web.com's DHTML/javascript scrollbar to allow a curved track for the scroll handle. I can define the curve using sine/cosine (it's about 1/8th of a circle) but I'm not sure how to make the DIV containing the handle move only along it. Constraining drag motion to a vertical or horizontal line is easy, but I'm not grasping how to make it stick to a curve. Any thoughts?