Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

Doesn't render Dojo Toolkit Websides (DTK 1.5 FF 3.6.8)

  • 2 답장
  • 13 이 문제를 만남
  • 33 보기
  • 최종 답변자: marcozehner

more options

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?

모든 댓글 (2)

more options

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>

<button dojotype="dijit.form.Button" id="myButton"> Press me, NOW! <script type="dojo/method" event="onClick"> alert('You pressed the button'); </script> </button>

<input id="calEnglish" dojotype="dijit.Calendar" lang="en-us">   <input id="calChinese" dojotype="dijit.Calendar" lang="zh-cn">

more options

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.