<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 show() {
dojox.fx.sizeTo({
node:"my", duration: 2000, width: 300, height: 300,
method: "chain"
}).play();
}
</script>
</head>
<body onload="show()">
<div id="my"
style="background-color:#f00;">
</div>
</body>
</html>
|