<html>
<head>
<style>.myClass { background: #f0f;color : #ffff00; }</style>
<script type="text/javascript">
var djConfig = {
baseScriptUri : "js/dojo/"
};
</script>
<script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
</head>
<body onLoad="dojo.addClass('myDiv', 'myClass');">
<div id="myDiv">Testing, 1...2...3!</div>
</body>
</html>
|