English 中文(简体)
• 如何使用分子火ox添加物的偏好和接口?
原标题:how to handler preference and interface of mozilla firefox addons?

I want to ask some questions: What steps should I do to make the interface on mozilla firefox and handle all these interfaces. interfaces that I want to make are:

  1. 地位限制包括标签和图片,如果地位限制在右边点菜单上,就会显示活性添加物(外在隐蔽)和优惠。

  2. 右上点上的现有网页,在浏览器上将显示一个背景,即“Tjemahkan”,左上角有照片。

  3. 当我选择使用工具菜单和gt子时,用户可以用无线电台调整这些附加物的环境。

  4. 当选择环境菜单时,浏览器窗将显示预期结果。

www.un.org/Depts/DGACM/index_french.htm

i) 身份受到限制,但我为什么不想按指示显示情况。 以及背景菜单,图象不能像一般那样出现在男性的上左上角。

<?xml version="1.0"?>

<overlay id="inline_trans"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml">

<!--
  <script type="application/x-javascript" src="chrome://translator/content/script.js" />
  <script type="application/x-javascript" src="chrome://translator/content/interface.js" />

-->
    <!-- menu klik kanan pada halaman web -->

    <popup id="contentAreaContextMenu">
        <menuseparator />
        <menuitem id="intransContextMenuPage"
         image="chrome://inlinetrans/skin/imagesOn_kecil.png"
         label="terjemahkan dengan intrans"
         oncommand="inline.script.getText()" />
    </popup>

    <!-- pilihan menu pada status bar -->

<popupset>
  <menupopup id="intransContextMenu">
    <menuitem label="intrans nonaktif"
     image="chrome://inlinetrans/skin/imagesOff_kecil.png"
     hidden="true"/>
    <menuitem label="intrans aktif"
     image="chrome://inlinetrans/skin/imagesOn_kecil.png"
     hidden="false"/>
    <menuseparator />
    <menuitem label="preferensi"/>
  </menupopup>
</popupset>

<!-- ========================================= -->

<!-- statusbar-->

    <statusbar id="status-bar">
      <statusbarpanel id="status-bar-intrans"
       image="chrome://inlinetrans/skin/imagesOn_kecil.png"
       label="intrans"
       context="intransContextMenu"
       tooltiptext="intrans versi 1.0"
       />
    </statusbar>
</overlay> 

www.un.org/Depts/DGACM/index_spanish.htm 倡议选择选择

    <?xml version="1.0"?>
    <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

    <!DOCTYPE overlay SYSTEM "chrome://inlinetrans/locale/options.dtd">

    <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      id="translate-preferences"
      title="&options.title;"
      buttons="accept, cancel"
      style="padding:0px; margin:0px;"
      ondialogaccept="options.save()"
      onload="options.init();"
      onunload="options.deconstruct();">

    <!--
      <stringbundleset id="stringbundleset">
        <stringbundle id="locale-properties" src="chrome://translator/locale/translator.properties"/>
        <stringbundle id="properties" src="chrome://translator/content/translator.properties"/>
      </stringbundleset>
    -->

   <!--
      <script src="chrome://inlinetrans/content/options.js" />

   -->

      <description value="&options.desc;"
        style="
        background: #fff url( chrome://inlinetrans/skin/options.png ) no-repeat;
        min-width:400px;
        min-height:40px;
        padding-left:55px;
        padding-top:10px;
        margin:0px;
        border-bottom: 2px solid #757575;
        font-size:1.5em;"/>

      <vbox style="padding:10px;">
        <groupbox>
          <caption label="&options.ui;"/>
          <label value="&options.results.desc;"/>
        <radiogroup id="display.results" style="padding-left:20px;">
          <radio id="results.cat" value="category" label="&options.results.cat;"/>
              <radio id="results.noncat"  value="noncategory" label="&options.results.noncat;"/>
          </radiogroup>
        </groupbox>
     </vbox>
    </dialog>

www.un.org/Depts/DGACM/index_spanish.htm 对我来说,最令人困惑的是,我如何做所有的手稿接口。

例如:

  1. 1. 更改添加物的地位,从活性物改为不活动物

  2. 2. 计算选定的无线电台的数值

最佳回答

我不能回答你的所有问题,部分原因是我不知道你想要什么,但这里是一个开端:

问题回答

暂无回答




相关问题
Firefox extension that overlays persistent iFrame?

Is it possible to build a Firefox extension that displays a floating, persistent iFrame over the page content? I know it s possible to add iFrames using XUL. For instance, you can add an iFrame to a ...

Sending POST data in XUL?

I m trying to send POST data to the current tab, based on this (https://developer.mozilla.org/en/Code_snippets/Post_data_to_window). But it doesn t seem to be working, nothing happens... I d be very ...

jQuery for XUL?

I have read on the internet and found out that jQuery works OK on XUL. My questions are: Are there any jQuery plugins that are specially made to work with XUL? Is there any other jQuery-like library ...

Accessing an iFrame s dom from a Firefox Extension

I ve spent a long time trying different things to get this to work but nothing does and documentation is not helping much. I m trying to populate a form inside an iframe that I dynamically inject ...

Open links in new tab in Firefox

I am developing an Firefox extension. How can all the links on a webpage to be opened in a new tab?

热门标签