<html>
<head>
<script type="text/javascript">
var djConfig = {
baseScriptUri : "js/dojo/"
};
</script>
<script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
<script>
dojo.require("dojo.fx");
function fxTest() {
dojo.fx.chain([
dojo.fx.wipeOut({node:"myDiv"}),
dojo.fx.combine([
dojo.fx.slideTo({node:"myDiv",left:"0",top:"400",unit:"px"}),
dojo.fx.wipeIn({node:"myDiv"})
])
]).play();
}
</script>
</head>
<body onLoad="fxTest();">
<div id="myDiv"
style="background-color:#f00;width:400px;height:400x;">
Hello </div>
</body>
</html>