home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / browser.jar / content / browser / viewPartialSource.xul < prev    next >
Extensible Markup Language  |  2002-10-10  |  2KB  |  46 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> 
  2. <?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?> 
  3.  
  4.  
  5. <?xul-overlay href="chrome://browser/content/viewSourceOverlay.xul"?>
  6.  
  7. <!DOCTYPE window [
  8. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  9. %brandDTD;
  10. <!ENTITY % sourceDTD SYSTEM "chrome://browser/locale/viewSource.dtd" >
  11. %sourceDTD;
  12. ]>
  13.  
  14. <window id="main-window"
  15.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  16.         onload="onLoadViewPartialSource();"
  17.         contenttitlesetting="false"
  18.         title="&mainWindow.title;" 
  19.         titlemodifier="&mainWindow.titlemodifier;" 
  20.         titlepreface=""
  21.         titlemenuseparator ="&mainWindow.titlemodifierseparator;"  
  22.         windowtype="navigator:view-source"
  23.         width="500" height="300"
  24.         screenX="10" screenY="10"
  25.         persist="screenX screenY width height sizemode">
  26.  
  27.   <script type="application/x-javascript" src="chrome://navigator/content/viewPartialSource.js"/>
  28.  
  29.   <commandset id="commands"/>
  30.   <keyset id="viewSourceKeys"/>
  31.   <stringbundleset id="viewSource-stringbundleset"/>
  32.   <popupset id="viewSourceContextSet" />
  33.   <popup id="contentAreaContextMenu"/>
  34.  
  35.   <toolbox id="viewSource-toolbox"/>
  36.  
  37.   <vbox id="appcontent" flex="1"
  38.         ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
  39.  
  40.     <browser id="content" type="content-primary" name="content" src="about:blank" flex="1"
  41.              context="viewSourceContextMenu"/>
  42.  
  43.   </vbox>
  44.  
  45. </window>
  46.