Login Register

[Solved] No icons in firefox 3.0b5

Hi,

I am trying to run this "dojocampus" example ( http://dojocampus.org/explorer/#Dijit_Menu_Popup%201example ) on Ubuntu 8.04 and Firefox 3.05b served by the Google Appengine SDK dev-server using Django 0.96.

I see the "Right click Me To Show Menu" text and when I right-click it I see the context menu but unlike the online demo
no icons (or any graphics) are displayed.

--- -- -

<link rel="stylesheet" type="text/css" href="http://localhost:8080/static/dojo/dojo/resources/dojo.css" />
        <script type="text/javascript" src="http://localhost:8080/static/dojo/dojo/dojo.js"
            djConfig="parseOnLoad:true, isDebug:false">
</script>

 
<script language="JavaScript" type="text/javascript">
  dojo.require("dijit.Menu");
  dojo.require("dojo.parser");  // scan page for widgets and instantiate them
  function doNothing() {
    alert('not actually doing anything, just a test!');
  }
</script>

<div dojoType="dijit.Menu" id="popup1campus" contextMenuForWindow="false" style="display: none;" targetNodeIds="btn1">
  <div dojoType="dijit.MenuItem" onClick="alert('Hello world');">Enabled Item</div>
  <div dojoType="dijit.MenuItem" disabled="true">Disabled Item</div>
  <div dojoType="dijit.MenuSeparator"></div>
  <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCut"
    onClick="doNothing();">
Cut</div>
  <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
    onClick="doNothing();">
Copy</div>
  <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconPaste"
    onClick="doNothing();">
Paste</div> 
</div>

<div id="btn1">Right click Me To Show Menu</div>

--- -- -

Regards,