Simple slider
<html>
<head>
<script type="text/javascript">
var djConfig = {
baseScriptUri : "js/dojo/",
parseOnLoad : true
};
</script>
<script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
<script>
dojo.require("dojox.fx._base");
function testIt() {
dojox.fx.slideBy({
node : "my",
duration : 1000, top : 100, left: 100
}).play();
}
</script>
</head>
<body onload=testIt()>
<div id="my">Your text here.</div>
</body>
</html>
Dojo-toolkit.zip( 3,849 k)Related examples in the same category