searchreplace.html 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5. <title></title>
  6. <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
  7. <script type="text/javascript" src="../internal.js"></script>
  8. <style type="text/css">
  9. .warpper{ position:relative;width: 380px; height: 100%; margin: 10px 20px;}
  10. .tabbody{height: 200px;}
  11. .tabbody table{width:100%;border-collapse: separate;border-spacing: 3px;}
  12. .tabbody .panel{width:373px;height:100%;padding-left: 5px;position: absolute;background-color: #fff;}
  13. .tabbody input.int{
  14. width: 280px;
  15. height: 28px;
  16. border: 1px solid #ccc;
  17. line-height: 28px;
  18. border-radius: 5px;
  19. }
  20. .tabbody input.btn{
  21. padding: 0 10px;
  22. text-align: center;
  23. line-height: 28px;
  24. text-decoration: none;
  25. height: 28px;
  26. background-color: #fff;
  27. border: 1px solid #ccc;
  28. border-radius: 5px;
  29. margin-right: 10px;
  30. }
  31. .tabhead span {
  32. width: 52px;
  33. height: 30px;
  34. line-height: 30px;
  35. }
  36. .tabbody tr {
  37. height: 41px;
  38. line-height: 41px;
  39. }
  40. </style>
  41. </head>
  42. <body>
  43. <div class="warpper" id="searchtab">
  44. <div id="head" class="tabhead">
  45. <span tabsrc="find" class="focus"><var id="lang_tab_search"></var></span>
  46. <span tabsrc="replace" ><var id="lang_tab_replace"></var></span>
  47. </div>
  48. <div class="tabbody">
  49. <div class="panel" id="find">
  50. <table>
  51. <tr>
  52. <td width="80"><var id="lang_search1"></var>: </td>
  53. <td><input id="findtxt" type="text" class="int" /></td>
  54. </tr>
  55. <!--<tr>-->
  56. <!--<td colspan="2"><span style="color:red"><var id="lang_searchReg"></var></span></td>-->
  57. <!--</tr>-->
  58. <tr>
  59. <td><var id="lang_case_sensitive1"></var></td>
  60. <td>
  61. <input id="matchCase" type="checkbox" />
  62. </td>
  63. </tr>
  64. <tr>
  65. <td colspan="2">
  66. <input id="nextFindBtn" type="button" class="btn" />
  67. <input id="preFindBtn" type="button" class="btn" />
  68. </td>
  69. </tr>
  70. <tr>
  71. <td colspan="2">
  72. &nbsp;
  73. </td>
  74. </tr>
  75. <tr>
  76. <td colspan="2">
  77. <span id="search-msg" style="color:red"></span>
  78. </td>
  79. </tr>
  80. </table>
  81. </div>
  82. <div class="panel" id="replace">
  83. <table>
  84. <tr>
  85. <td width="80"><var id="lang_search2"></var>: </td>
  86. <td><input id="findtxt1" type="text" class="int" /></td>
  87. </tr>
  88. <!--<tr>-->
  89. <!--<td colspan="2"><span style="color:red"><var id="lang_searchReg1"></var></span></td>-->
  90. <!--</tr>-->
  91. <tr>
  92. <td><var id="lang_replace"></var>: </td>
  93. <td><input id="replacetxt" type="text" class="int" /></td>
  94. </tr>
  95. <tr>
  96. <td><var id="lang_case_sensitive2"></var></td>
  97. <td>
  98. <input id="matchCase1" type="checkbox" />
  99. </td>
  100. </tr>
  101. <tr>
  102. <td colspan="2">
  103. <input id="nextReplaceBtn" type="button" class="btn" />
  104. <input id="preReplaceBtn" type="button" class="btn" />
  105. <input id="repalceBtn" type="button" class="btn" />
  106. <input id="repalceAllBtn" type="button" class="btn" />
  107. </td>
  108. </tr>
  109. <tr>
  110. <td colspan="2">
  111. &nbsp;
  112. </td>
  113. </tr>
  114. <tr>
  115. <td colspan="2">
  116. <span id="replace-msg" style="color:red"></span>
  117. </td>
  118. </tr>
  119. </table>
  120. </div>
  121. </div>
  122. </div>
  123. <script type="text/javascript" src="searchreplace.js"></script>
  124. </body>
  125. </html>