Doesn't render Dojo Toolkit Websides (DTK 1.5 FF 3.6.8)
I have some very simple dojo toolkit (either 1.5 or 1.4.3) testcode on local that runs on all browsers except FF 3.6 and ff 3.5.11 - it ran on 3.5.8
Problem seems to be that the JavaScript part is not rendered anyway - Firebug gives to error messages regarding pathes to .js files - but the files it claimes are perfectly correct.
Is there any new setting in FF I have overseen?
Toate răspunsurile (2)
code is this: <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <link rel="stylesheet" type="text/css" href="../dojo_1_5_0/dojo/resources/dojo.css"> <link rel="stylesheet" type="text/css" href="../dojo_1_5_0/dijit/themes/tundra/tundra.css"> <script type="text/javascript"> var djConfig = { baseScriptUri : "../dojo_1_5_0/dojo/", parseOnLoad : true, extraLocale: ['en-us','zh-cn'] }; </script> <script type="text/javascript" src="../dojo_1_5_0/dojo/dojo.js"></script> <script language="JavaScript" type="text/javascript"> dojo.require("dojo.parser"); dojo.require("dijit.form.Button"); dojo.require("dijit._Calendar"); </script> <title>step 1</title>
<input id="calEnglish" dojotype="dijit.Calendar" lang="en-us"> | <input id="calChinese" dojotype="dijit.Calendar" lang="zh-cn"> |
I was able to narrow this problem down: The problem occurs, if the js libraries are not in a child folder of the HTML content folder. So this problem occurs only if I reference like ../dojo/... Why is that so? Is there a possibility to change the settings (security?) of FF to make references like this possible? The problem is, that I plan to structure my site into some segments and therefore I do not want to place dojo behind every HTML subfolder.