⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moz0322ex.txt

📁 mozilla developer book examples.
💻 TXT
字号:
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="chrome://xfly/skin" type="text/css"?>
<?xul-overlay href="chrome://xfly/content/xflyoverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://xfly/locale/xfly.dtd">
<window title="&window.title;"
    xmlns:html="http://www.w3.org/1999/xhtml"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    type="xfly:main"
    width="800"
    height="600"
    onload="onLoad( )">
  <script type="application/x-javascript" src="chrome://xfly/content/xfly.js" />
  <stringbundle id="bundle_xfly" src="chrome://xfly/locale/xfly.properties"/>
  <toolbox>
    <menubar id="appbar">
      <menu label="xFly">
        <menupopup>
          <menuitem label="Close" oncommand="exitxFly( )"/>
        </menupopup>
      </menu>
      <menu label="Examples">
        <menupopup>
          <!-- items to go here -->
        </menupopup>
      </menu>
      <menu label="Help">
        <menupopup>
          <menuitem label="About" oncommand="doAbout( )"/>
        </menupopup>
      </menu>
    </menubar>
  </toolbox>
  <hbox flex="1">
    <vbox id="left-frame">
      <tree id="example-tree" />
      <hbox align="start">
        <image src="chrome://xfly/skin/images/logo5.gif" />
      </hbox>
    </vbox>
    <splitter collapse="before" resizeafter="grow" persist="state">
      <grippy />
    </splitter>
    <tabbox id="raven-main-tabcontent" flex="1" orient="vertical">
      <tabs orient="horizontal">
        <tab id="tab-view" label="View Example"/>
        <tab id="tab-source" label="View Example Source"/>
      </tabs>
      <tabpanels flex="1">
        <iframe id="right-frame" name="right-frame"
            flex="3" src="chrome://xfly/content/examples/2-1.xul"/>
        <iframe id="right-frame-source" name="right-frame-source"
            flex="3" src="view-source:chrome://xfly/content/examples/2-1.xul"/>
      </tabpanels>
    </tabbox>
  </hbox>
  <statusbar id="ch3-bar" persist="collapsed">
    <statusbarpanel class="statusbarpanel-iconic" id="book-icon"/>
    <statusbarpanel id="status-text" label="Thanks for reading the book!"
        flex="4" crop="right"/>
    <statusbarpanel class="statusbarpanel-iconic" id="example-status" flex="1"/>
  </statusbar>
</window>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -