aaf2b8dc204173bf03a8671d28b7db117678ed25.svn-base 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>floodsTool.html</title>
  5. <meta name="keywords" content="keyword1,keyword2,keyword3">
  6. <meta name="description" content="this is my page">
  7. <meta name="content-type" content="text/html; charset=UTF-8">
  8. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  9. <!--框架必需start 扁平风格-->
  10. <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  11. <link href="/nwyj/scripts/qui/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" id="skin" skinPath="/nwyj/scripts/qui/" scrollerY="false" scrollerX="false"/>
  12. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  13. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  14. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  15. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
  16. <!--框架必需end-->
  17. <!-- 模版js和css start-->
  18. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style.css"
  19. rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
  20. positionTarget="positionContent" selInputHeight="32"
  21. selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
  22. defaultFileInputWidth="200" defaultGridHeaderHeight="34"
  23. defaultGridRowHeight="38" defaultFontSize="12" defaultPageSelWidth="55"
  24. defaultFilterItemHeight="32" dialogWidthFix="0"
  25. defaultSelItemHeight="32" defaultFontFamily="宋体" />
  26. <!-- 模版js和css end-->
  27. <style>
  28. *{ margin:0; padding:0; font-size:12px; font-family:"微软雅黑"}
  29. .tool_box{ width:465px;height:50px; }
  30. #tool_box{ width:85px;}
  31. .button{ margin:10px; min-width:60px; }
  32. .off_on{ width:75px; background-color:#f1f1f1; border-right:solid 1px #f2f2f2; display:inline-block; float:left;}
  33. </style>
  34. </head>
  35. <body>
  36. <div class="tool_box">
  37. <!-- <img/> -->
  38. <button class="but" id="tool_box">展开绘制按钮</button>
  39. <button class="but" id="circle">画圆</button>
  40. <button class="but" id="poly">画多边形</button>
  41. <button class="but" id="recta">画矩形</button>
  42. <button class="but" id="clear_all">清除</button>
  43. </div>
  44. <script>
  45. $(function(){
  46. $("#tool_box").toggle(
  47. function(){
  48. $("#tool_box").html("关闭绘制按钮");
  49. window.parent.window.changTool();},
  50. function(){
  51. $("#tool_box").html("展开绘制按钮");
  52. window.parent.window.closeTool();
  53. }
  54. );
  55. $("#circle").click(function(){
  56. window.parent.window.openDrawCircleTool();
  57. });
  58. $("#poly").click(function(){
  59. window.parent.window.openDrawPolygonTool();
  60. });
  61. $("#recta").click(function(){
  62. window.parent.window.openDrawRectangleTool();
  63. });
  64. $("#clear_all").click(function(){
  65. window.parent.window.clearAll();
  66. });
  67. });
  68. </script>
  69. </body>
  70. </html>