home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / komunikace / kmeleon / K-Meleon1.1.3en-US.exe / chrome / embed.jar / kmprefs / content / pref-javascript.xul < prev    next >
Extensible Markup Language  |  2007-04-23  |  2KB  |  63 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/css" href="chrome://global/skin/"?>
  3. <?xul-overlay href="chrome://kmprefs/content/kmprefs/ovrl-javascript.xul"?>
  4. <?xul-overlay href="chrome://kmprefs/content/kmprefs/ovrl-popups.xul"?>
  5. <!DOCTYPE page SYSTEM "chrome://kmprefs/locale/pref-javascript.dtd">
  6. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  7. id="prefJavaScript" onload="init()">
  8.  
  9. <stringbundle id="pref_bundle" src="chrome://kmprefs/locale/pref.properties"/>
  10.  
  11. <script type="application/x-javascript" src="chrome://kmprefs/content/pref.js"/>
  12. <script type="application/x-javascript">
  13. <![CDATA[
  14. function init() {
  15.     for(var j=0,b=document.getElementsByTagName("checkbox");j<b.length;j++)
  16.         initCheckbox(b[j].getAttribute("id"));
  17.     for(var j=0,r=document.getElementsByTagName("radiogroup");j<r.length;j++)
  18.         initRadiogroup(r[j].getAttribute("id"));
  19.     setInterval("initCheckbox('javascript.enabled')",100);
  20.     setInterval("initCheckbox('dom.disable_open_during_load')",100);
  21. }
  22. ]]>
  23. </script>
  24.  
  25. <vbox flex="1" style="overflow:auto">
  26.   <dialogheader title="&javascript.header;"/>
  27.   <separator class="thin"/>
  28.   <checkbox id="javascript.enabled"/>
  29.   <separator class="thick"/>
  30.   <tabcontrol flex="1">
  31.     <tabbox flex="1">
  32.       <tabs>
  33.         <tab label="&general;"/>
  34.         <tab label="&popups.label;"/>
  35.       </tabs>
  36.       <tabpanels flex="1">
  37.         <tabpanel flex="1" orient="vertical" style="overflow:auto">
  38. <!-- General -->
  39. <groupbox>
  40.   <caption label="&contentManip;"/>
  41.   <vbox id="domDISS"/>
  42. </groupbox>
  43. <separator class="thin"/>
  44. <groupbox id="windowManip"/>
  45. <!-- General -->
  46.     </tabpanel>
  47.         <tabpanel flex="1" orient="vertical" style="overflow:auto">
  48. <!-- Popups -->
  49. <separator class="thin"/>
  50. <checkbox oncommand="toggleCheckbox(this.id)" id="dom.disable_open_during_load" label="&domDODL;" disabled="true"/>
  51. <description>&popups.note;</description>
  52. <separator class="thin"/>
  53. <groupbox id="popups.diversion"/>
  54. <separator class="thin"/>
  55. <groupbox id="popups.appearance"/>
  56. <!-- Popups -->
  57.     </tabpanel>
  58.       </tabpanels>
  59.     </tabbox>
  60.   </tabcontrol>
  61. </vbox>
  62.  
  63. </page>