[Project_owners] A question about Context Menu of DOM Inspector ( Newbie)

Jagannathan Veeraraghavan jagannathanv at tarangtech.com
Sat Dec 20 18:03:49 EST 2003


Hi ,
i am trying to implement  a menu item in the dom inspector
the following is my code.

<?xml version="1.0"?>

<page id="winNodeDefault"
    
      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
      <script>
          alert('foobar');
      </script>
  <commandset id="cmdsEditing"/> 

  <commandset>
      <command id="cmdOther"
        isvalid="return true" 
        oncommand="alert('test')"/>
    </commandset>
<popupset id="psPopups">
    <popup id="ppDOMContext" >
        <menuitem label="check" observes="cmdOther" 
insertbefore="mnEditDelete"/>
    </popup>
  </popupset>
  </page>

When i open dom inspector i get the alert message (foobar) correctly. 
but i dont get the new context menu item "check" that i had added?.
if you need more inputs from me please reply directly to me so that we 
can continue this topic.



More information about the Project_owners mailing list