Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

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

  • 2 odpovědi
  • 13 má tento problém
  • 2 zobrazení
  • Poslední odpověď od 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?

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?

Všechny odpovědi (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.