Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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

  • 2 respostas
  • 13 têm este problema
  • 2 visualizações
  • Última resposta por 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?

Todas as respostas (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.