I would like to included dojo files download to my machine, how to do so? I kept getting "dojo is not defined" in the Error Console and the webpage does not show up the same as the original. What am I missing out?
The original ones had these:
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.xd.js"
djConfig="parseOnLoad: true"></script>
<script type="text/javascript">
dojo.require("dojox.layout.FloatingPane");
dojo.require("dijit.form.Button");
</script>
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dijit/themes/claro/claro.css"
/>
<style type="text/css">
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojox/layout/resources/FloatingPane.css";
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojox/layout/resources/ResizeHandle.css";
</style>
我没有看到我下载的“多霍.xd.js”档案,因此我改变了这些档案:
<script src="C:/Users/Yeeen/Desktop/WebpageTest/js/src/dojo/dojo.js.uncompressed.js"
djConfig="parseOnLoad: true"></script>
<script type="text/javascript">
dojo.require("dojox.layout.FloatingPane");
dojo.require("dijit.form.Button");
</script>
<link rel="stylesheet" type="text/css" href="C:/Users/Yeeen/Desktop/WebpageTest/js/src/dijit/themes/claro/claro.css"
/>
<style type="text/css">
@import "C:/Users/Yeeen/Desktop/WebpageTest/js/src/dojox/layout/resources/FloatingPane.css";
@import "C:/Users/Yeeen/Desktop/WebpageTest/js/src/dojox/layout/resources/ResizeHandle.css";
</style>