home *** CD-ROM | disk | FTP | other *** search
/ com!online 2002 June / comonline0602.iso / software / cogitum / CoTracker.exe / choose.___ < prev    next >
Encoding:
Text File  |  2000-10-31  |  1.5 KB  |  65 lines

  1. <HTML>
  2. <HEAD>
  3. <TITLE>Choose order of  categories</TITLE>
  4. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
  5. <STYLE>
  6. <!--
  7. .dlgButton {font-family: Verdana,Arial; font-size: 8pt; font-weight: bold; width: 80}
  8. -->
  9. </STYLE>
  10. <SCRIPT LANGUAGE="javascript" SRC="lib.js"></SCRIPT>
  11. <SCRIPT defer>
  12.  
  13.  
  14.  function  onOKey()
  15.  {
  16.    TreeFrame.SaveCTOrder ();
  17.    window.returnValue = 1;
  18.    window.close();
  19.  
  20.  } 
  21.  function onCancel()
  22.  {
  23.    window.returnValue = 0;
  24.    window.close();   
  25.  } 
  26.  
  27.  function InitL()
  28.  { 
  29.     fnResize(document, window);   
  30.     SourceXML=window.dialogArguments;
  31.     if (!SourceXML)
  32.      window.close();
  33.  
  34.     window.frames[0].Init(SourceXML);
  35.  }
  36.  
  37.  function onKeyPress  ()
  38.  {
  39.   if (event.keyCode == 13)    
  40.    onOKey();
  41.  
  42.   if (event.keyCode == 27)
  43.    onCancel(); 
  44.  }
  45.  
  46.  
  47.  
  48. </SCRIPT>
  49. </HEAD>
  50. <BODY bgColor=silver onload="InitL()" onkeydown="onKeyPress()">
  51. <CENTER>
  52. <BR>
  53. <DIV style="FONT-FAMILY: Verdana,Arial; FONT-SIZE: 9pt; FONT-WEIGHT: 600">You can choose category position in the list:</DIV>
  54. <DIV>
  55. <BR>
  56. <IFRAME SRC="list.htm" style="HEIGHT: 280px; WIDTH: 500px" ID=TreeFrame>
  57. </IFRAME>
  58. </DIV>
  59. <BR>
  60.   <BUTTON id=buttonOK name=buttonOK onclick="onOKey()" title="OK" class="dlgButton" tabindex=1 style="LEFT: 180px; POSITION: absolute"><IMG src="color.bmp">OK</BUTTON>
  61.   <BUTTON id=Cancel name=Cancel onclick="onCancel()" title="Cancel"  class="dlgButton" tabindex=0 style="LEFT: 290px; POSITION: absolute"><IMG src="color.bmp">Cancel</BUTTON>
  62. </CENTER>
  63. </BODY>
  64. </HTML>
  65.