The class works on all browsers and can even replace the browser's native scroll bar graphics.
Here are some key features of "MooScroll":
Configurable options:
· selector [string]: CSS style selector to determine what elements get MooScrolled. Default = ".scroll"
· increment[number]: Number of pixels that are scrolled at a time. Default = 30
· handleOpacity [number]: Opacity of scroll handle. Default = 1
· handleActiveOpacity [number]: Opacity of scroll handle while it is being dragged. Default = 0.85
· disabledOpacity [number]: Opacity of scroll bar when there is not enough content to scroll. Default = 0.5
· fullWindowMode[boolean]: Set to true when using a MooScroll area to "replace" the browser scrollbar . Default = false
· scrollBarClass [string]: Class of scroll bar div. Default = "scrollBar"
· scrollHandleClass [string]: Class of scroll handle wrapper div. Default = "scrollHandle"
· scrollHandleBGClass [string]: Class of scroll handle bg div. Default = "scrollHandleBG"
· scrollHandleTopClass [string]: Class of scroll handle top div. Default = "scrollHandleTop"
· scrollHandleMiddleClass [string]: Class of scroll handle middle div. Default = "scrollHandleMiddle"
· scrollHandleBottomClass [string]: Class of scroll handle bottom div. Default = "scrollHandleBottom"
· scrollControlsYClass[string]: Class of wrapper div around vertical scroll controls. Default = "scrollControlsY"
· restrictedBrowsers[array]: Uses MooTools Browser Hash to disable MooScroll for certain browsers. Default = [Browser.Engine.presto925, Browser.Platform.ipod, Browser.Engine.webkit419] //Opera 9.25 or lower, Safari 2 or lower, iPhone/iPod Touch
· smoothMooScroll [object]
Requirements:
· JavaScript enabled on client side
· MooTools 1.2 or higher
What's New in This Release: [ read full changelog ]
· Finished adding smoothMooScroll.toAnchor and toMooScrollArea options.