<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.math._base");
function testIt() {
var s = dojox.math.distance([2,2],[4,2]);
alert(s)
}
</script>
</head>
<body onLoad="testIt();">
</body>
</html>
|