<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.crossFade({ nodes : ["node1", "node2"], duration:1000}).play();
}
</script>
</head>
<body onload="testIt()">
<div id="node1">One</div>
<div id="node2" style="opacity:0;>Two</div>
</body>
</html>
|