home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2001 July / VPR0107A.BIN / SHDOCLC.DLL / HTML / FIND.DLG < prev    next >
Text File  |  2000-06-19  |  6KB  |  168 lines

  1. <HTML id=dlgFind STYLE="font-family: MS UI Gothic; font-size: 9pt;
  2. width: 36em; height: 11.2em">
  3. <HEAD>
  4. <meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
  5. <TITLE id=dialogTitle>
  6. 検索
  7. </TITLE>
  8. <SCRIPT LANGUAGE="JavaScript" defer src="findinc.dlg">
  9. </SCRIPT>
  10. <SCRIPT LANGUAGE="JavaScript" defer>
  11. function findFlags()
  12. {
  13. var htmlMatchWord = 2;
  14. var htmlMatchCase = 4;
  15. var htmlMatchDiacritic = 536870912; 
  16. var htmlMatchKashida = 1073741824; 
  17. var htmlMatchAlefHamza = 2147483648; 
  18. return (htmlMatchWord * document.all.chkWholeWord.checked)
  19.  | (htmlMatchCase * document.all.chkMatchCase.checked)
  20.  | htmlMatchDiacritic | htmlMatchKashida | htmlMatchAlefHamza;
  21. function loadBdy()
  22. {
  23. btnFind.onclick  = new 
  24.  Function("btnFindClick()");
  25. btnFind.ondblclick = new
  26.  Function("btnFindClick()");
  27. btnCancel.onclick = new Function("btnCancelClick2()");
  28. document.onhelp  = new Function("callHelp(window.event.srcElement)");
  29. document.onmouseup = new Function("mouseClick()");
  30. txtFindText.onpropertychange = new Function("setFindState(true)");
  31. txtFindText.onfocus = new Function("txtFindText.select()");
  32. txtFindText.onkeypress = new Function("txtDefaultESC()");
  33. g_fFindStartPoint = true;
  34. if ("" != window.dialogArguments.findText)
  35. {
  36.  txtFindText.value = window.dialogArguments.findText;
  37. }
  38. txtFindText.focus();
  39. txtFindText.select();
  40. function findStartPoint()
  41. {
  42. if (g_fFindStartPoint)
  43. {
  44.  g_fFindStartPoint = false;
  45.     var win = window.dialogArguments.unsecuredWindowOfDocument;
  46.     var doc = window.dialogArguments.document;
  47.  if (!g_fError && win.frames.length)
  48.  {
  49.   var win2;
  50.   g_fFrameset = true;
  51.   g_arrFrames[0] = 0;
  52.   g_arrFrames[1] = -1;
  53.   win2 = CrawlPath();
  54.   window.onerror = FindHandleError;
  55.   doc2 = win2.document;
  56.   window.onerror = HandleError;
  57.   while (doc2.selection.type == "None")
  58.   {
  59.    if (MoveDoc(true))
  60.    {
  61.     win2 = CrawlPath();
  62.     doc2 = win2.document;
  63.    }
  64.    else 
  65.    {
  66.     g_arrFrames[0] = 0;
  67.     g_arrFrames[1] = -1;
  68.     break;
  69.    }
  70.   }
  71.   doc = GetFirstDoc();
  72.   g_docLastFound = doc;
  73.  }
  74.  if (doc.selection.type == "Control")
  75.  {
  76.   var r = doc.selection.createRange();
  77.   r = getTextRange(r(0));
  78.   r.select();
  79.  }
  80. }
  81. </SCRIPT>
  82. </HEAD>
  83. <BODY ID=bdy onload="loadBdy()" style="color: windowtext;
  84. font-family: 'MS UI Gothic';
  85. font-size: 9pt; background: threedface; " topmargin=0 scroll=no>
  86. <BUTTON id=btnFind ACCESSKEY=f DISABLED=1 tabIndex=55 helpid=50026
  87. helpfile="iexplore.hlp"
  88. style="font-family: MS UI Gothic; font-size: 9pt; position: absolute;
  89. left: 28.08em; top: 1.0647em; width: 7em; height: 1.8em; " type=submit>
  90. 次を検索(<U>F</U>)
  91. </BUTTON>
  92. <DIV align=absMiddle id=divFindText
  93. style="font-family: MS UI Gothic; font-size: 9pt; position: absolute;
  94. left: 0.98em; top: 1.3em; width: 8.8em; height: 1.2168em; ">
  95. <LABEL FOR=txtFindText ID=lblFindText tabIndex=-1 helpid=50027
  96. helpfile="iexplore.hlp">
  97. 検索する文字列(<U>N</U>):
  98. </LABEL>
  99. </DIV>
  100. <INPUT type=text id=txtFindText ACCESSKEY=n tabIndex=15 helpid=50027
  101. helpfile="iexplore.hlp"
  102. style="font-family: MS UI Gothic; font-size: 9pt; position: absolute;
  103. left: 10.16em; top: 1.0647em; width: 17.36em; height: 1.7em; ">
  104. <BUTTON id=btnCancel tabIndex=60 helpid="0x6F1C" helpfile="windows.hlp"
  105. style="font-family: MS UI Gothic; font-size: 9pt; position: absolute;
  106. left: 28.08em; top: 3.6504em; width: 7em; height: 1.8em; " type=reset>
  107. キャンセル
  108. </BUTTON>
  109. <INPUT id=chkWholeWord ACCESSKEY=w type=checkbox tabIndex=25 
  110. helpfile="iexplore.hlp" helpid=50022
  111. style="font-family: MS UI Gothic; font-size: 9pt; position: absolute;
  112. left: 1em; top: 4.3em; width: 1.2em; height: 1.2em;">
  113. <INPUT ACCESSKEY=c type=checkbox tabIndex=35 helpid=50023
  114. helpfile="iexplore.hlp"
  115. id=chkMatchCase style="font-family: MS UI Gothic; font-size: 9pt;
  116. position: absolute; left: 1em; top: 6.1em; width: 1.2em; height: 1.2em;">
  117. <DIV id=divWholeWord
  118. style="font-family: MS UI Gothic; font-size: 9pt; position: absolute;
  119. left: 2.6em; top: 4.35em; width: 12.46em; height: 1.521em; ">
  120. <LABEL FOR=chkWholeWord ID=lblWholeWord tabIndex=-1 helpid=50022
  121. helpfile="iexplore.hlp">
  122. 単語単位で検索する(<U>W</U>)
  123. </LABEL>
  124. </DIV>
  125. <DIV id=divMatchCase style="font-family: MS UI Gothic; font-size: 9pt;
  126. position: absolute; left: 2.6em; top: 6.15em; width: 13em; 
  127. height: 2em; ">
  128. <LABEL FOR=chkMatchCase ID=lblMatchCase tabIndex=-1 helpid=50023
  129. helpfile="iexplore.hlp">
  130. 大文字と小文字を区別する(<U>C</U>)
  131. </LABEL>
  132. </DIV>
  133. <FIELDSET id=fldDirection style="font-family: MS UI Gothic; font-size: 9pt; 
  134. position: absolute; left: 15.7em; top: 3.5em; width: 11.7em; 
  135. height: 4.2em;">
  136. <LEGEND id=lgdDirection>
  137. 検索する方向
  138. </LEGEND>
  139. </FIELDSET>
  140.  <INPUT id=radDirectionUp type=radio name=radDirection ACCESSKEY=u
  141.  tabIndex=42 helpid=50025 helpfile="iexplore.hlp"
  142.  style="font-family: MS UI Gothic; font-size: 9pt; position: absolute;
  143.  left: 16.26em; top: 5.1235em; width: 1.2em; height: 1.2em; ">
  144.  <DIV id=divDirectionUp style="font-family: MS UI Gothic; 
  145.  font-size: 9pt; position: absolute; left: 17.7em; top: 5.3235em; 
  146.  width: 4em; height: 1.521em; ">
  147.  <LABEL ID=lblDirectionUp style="font-family: 'MS UI Gothic'; font-size: 9pt"
  148.  FOR=radDirectionUp
  149.  helpid=50025
  150.  helpfile="iexplore.hlp"> 上へ(<U>U</U>) </LABEL>
  151.  </DIV>
  152.  <INPUT id=radDirectionDown type=radio CHECKED name=radDirection
  153.  ACCESSKEY=d tabIndex=47 helpid=50024 helpfile="iexplore.hlp"
  154.  style="font-family: MS UI Gothic; font-size: 9pt; position: absolute;
  155.  left: 22.26em; top: 5.1235em; width: 1.2em; height: 1.2em; ">
  156.  <DIV id=divDirectionDown style="font-family: MS UI Gothic; 
  157.  font-size: 9pt; position: absolute; left: 23.7em; top: 5.3em; 
  158.  width: 4.9em; height: 1.521em; ">
  159.  <LABEL ID=lblDirectionDown style="font-family: 'MS UI Gothic'; font-size: 9pt"
  160.  FOR=radDirectionDown helpid=50024 helpfile="iexplore.hlp"> 
  161.  下へ(<U>D</U>)</LABEL>
  162.  </DIV>
  163. </BODY>
  164. </HTML>
  165.