12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>floodsTool.html</title>
-
- <meta name="keywords" content="keyword1,keyword2,keyword3">
- <meta name="description" content="this is my page">
- <meta name="content-type" content="text/html; charset=UTF-8">
-
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
- <!--框架必需start 扁平风格-->
- <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
- <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"/>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
- <!--框架必需end-->
- <!-- 模版js和css start-->
- <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style.css"
- rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
- positionTarget="positionContent" selInputHeight="32"
- selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
- defaultFileInputWidth="200" defaultGridHeaderHeight="34"
- defaultGridRowHeight="38" defaultFontSize="12" defaultPageSelWidth="55"
- defaultFilterItemHeight="32" dialogWidthFix="0"
- defaultSelItemHeight="32" defaultFontFamily="宋体" />
- <!-- 模版js和css end-->
- <style>
- *{ margin:0; padding:0; font-size:12px; font-family:"微软雅黑"}
- .tool_box{ width:465px;height:50px; }
- #tool_box{ width:85px;}
- .button{ margin:10px; min-width:60px; }
- .off_on{ width:75px; background-color:#f1f1f1; border-right:solid 1px #f2f2f2; display:inline-block; float:left;}
- </style>
- </head>
-
- <body>
- <div class="tool_box">
- <!-- <img/> -->
-
- <button class="but" id="tool_box">展开绘制按钮</button>
-
- <button class="but" id="circle">画圆</button>
- <button class="but" id="poly">画多边形</button>
- <button class="but" id="recta">画矩形</button>
- <button class="but" id="clear_all">清除</button>
-
- </div>
- <script>
- $(function(){
- $("#tool_box").toggle(
- function(){
- $("#tool_box").html("关闭绘制按钮");
- window.parent.window.changTool();},
- function(){
- $("#tool_box").html("展开绘制按钮");
- window.parent.window.closeTool();
- }
- );
-
- $("#circle").click(function(){
- window.parent.window.openDrawCircleTool();
- });
-
- $("#poly").click(function(){
- window.parent.window.openDrawPolygonTool();
- });
-
- $("#recta").click(function(){
- window.parent.window.openDrawRectangleTool();
- });
-
- $("#clear_all").click(function(){
- window.parent.window.clearAll();
- });
- });
- </script>
- </body>
- </html>
|