Functiondojox.fx.smoothScroll

dojo.require("dojox.fx.scroll");
defined in dojox/fx/scroll.js

This implementation support either horizental or vertical scroll, as well as both. In addition, element in iframe can be scrolled to correctly. offset: {x: int, y: int} this will be added to the target position duration: Duration of the animation in milliseconds. win: a node or window object to scroll

Usage

function (/*Object*/ args) (view source)
parametertypedescription
argsObject