123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
- <%@include file="/pages/includes/taglibs.jsp" %>
- <%
- String contextPath = request.getContextPath();
- %>
- <head>
- <script src="/resource/js/jquery-1.2.6.pack.js" type="text/javascript"></script>
- <script type="text/javascript">
-
- function queryData(){
- window.location.href="temperatureIndex.action?wfId="+$("#wfId").val();
- }
- function thisPage(){
- $("#f1").attr("action","temperatureIndex.action").submit();
- }
- function selIt(objname){
- var tempTd;
- var tempFont;
- for(var i=101;i<108;i++)
- {
- tempTd="td"+i;
- tempFont="font"+i;
- if(document.getElementById(tempTd)!=null)
- {
- document.getElementById(tempTd).background = "../resource/images/temperature/"+tempTd+".png";
- }
- // if(document.getElementById(tempFont)!=null)
- // {
- /// document.getElementById(tempFont).color = "#000000";
- // }
- }
-
-
-
- var _id = objname.id.substr(2,objname.id.length);
-
- var _td = "td"+_id;
- var _font="font"+_id;
-
- document.getElementById(_td).background = "../resource/images/temperature/"+_td+"e.png";
- // document.getElementById(_font).color = "#ffffff";
-
-
- var action="temperatureFrame.action?index=";
- if(_id=="101"){
- action="temperatureFrame.action?index=";
- }
- if(_id=="102"){
-
- action="temperatureClx.action?index=";
- }
- if(_id=="103"){
- action="temperatureBj.action?index=";
- }
- if(_id=="104"){
- action="temperatureYyz.action?index=";
- }
- if(_id=="105"){
- action="temperatureZz.action?index=";
- }
- if(_id=="106"){
- action="temperatureZd.action?index=";
- }
- if(_id=="107"){
- action="temperatureQt.action?index=";
- }
- var windInfo = action+_id+"&wfId="+$("#wfId").val();
-
- document.getElementById("frameid").src=windInfo;
- }
-
- function SetCwinHeight(iframeObj){
- if (document.getElementById){
- if (iframeObj && !window.opera){
- if (iframeObj.contentDocument && iframeObj.contentDocument.body.offsetHeight){
- iframeObj.height = iframeObj.contentDocument.body.offsetHeight;
- }else if(document.frames[iframeObj.name].document && document.frames[iframeObj.name].document.body.scrollHeight){
- iframeObj.height = document.frames[iframeObj.name].document.body.scrollHeight;
- }
- }
- }
- }
- </script>
- <style type="text/css">
- fieldset legend {
- color:#302A2A;
- font: bold 16px/2 Verdana, Geneva, sans-serif;
- font-weight: bold;
- text-align: left;
- text-shadow: 2px 2px 2px rgb(88, 126, 156);
- }
- </style>
- </head>
- <body>
- <form action="wsTimeIndex.action" method="post" id="f1">
- <fieldset style="height: 60px" id="fst">
- <legend class="item_Name">查询条件</legend>
- <table width="100%" cellpadding="0" cellspacing="0" class="dataform">
- <tr>
- <th width="5%">
- 风场:
- </th>
- <td width="20%" >
- <s:select list="stations" cssStyle="width:90%" listKey="id" listValue="name" id="wfId" name="wfId" headerKey="" headerValue="请选择" ></s:select>
- </td>
- <td >
- <input type="button" class="button" onclick="javascript:queryData();" value="查看"/>
-
- </td>
- </tr>
- </table>
- </fieldset>
- <hr>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="*" background="../resource/images/temperature/bar_Center.fw.png">
- <table width="840" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="10" background="../resource/images/temperature/bar_left.fw.png"/>
- <td id="td101" width="100" height="40" align="center" valign="middle"
- style="cursor:pointer;background-repeat:no-repeat;"
- onclick="selIt(this);"
- background="../resource/images/temperature/td101e.png"></td>
- <td width="10" background="../resource/images/temperature/bar_right.fw.png"/>
- <td width="10" background="../resource/images/temperature/bar_left.fw.png"/>
- <td id="td102" width="100" height="40" align="center" valign="middle"
- style="cursor:pointer;"
- onclick="selIt(this);"
- background="../resource/images/temperature/td102.png"></td>
- <td width="10" background="../resource/images/temperature/bar_right.fw.png"/>
- <td width="10" background="../resource/images/temperature/bar_left.fw.png"/>
- <td id="td103" width="100" height="40" align="center" valign="middle"
- style="cursor:pointer;"
- onclick="javascript:selIt(this)"
- background="../resource/images/temperature/td103.png"></td>
- <td width="10" background="../resource/images/temperature/bar_right.fw.png"/>
- <td width="10" background="../resource/images/temperature/bar_left.fw.png"/>
- <td id="td104" width="100" height="40" align="center" valign="middle"
- style="cursor:pointer;"
- onclick="selIt(this);"
- background="../resource/images/temperature/td104.png"></td>
- <td width="10" background="../resource/images/temperature/bar_right.fw.png"/>
- <td width="10" background="../resource/images/temperature/bar_left.fw.png"/>
- <td id="td105" width="100" height="40" align="center" valign="middle"
- style="cursor:pointer;"
- onclick="selIt(this);"
- background="../resource/images/temperature/td105.png"></td>
- <td width="10" background="../resource/images/temperature/bar_right.fw.png"/>
- <td width="10" background="../resource/images/temperature/bar_left.fw.png"/>
- <td id="td106" width="100" height="40" align="center" valign="middle"
- style="cursor:pointer;"
- onclick="selIt(this);"
- background="../resource/images/temperature/td106.png"></td>
- <td width="10" background="../resource/images/temperature/bar_right.fw.png"/>
- <td width="10" background="../resource/images/temperature/bar_left.fw.png"/>
- <td id="td107" width="100" height="40" align="center" valign="middle"
- style="cursor:pointer;"
- onclick="selIt(this);"
- background="../resource/images/temperature/td107.png"></td>
- <td width="10" background="../resource/images/temperature/bar_right.fw.png"/>
-
- </tr>
- </table>
- </td>
- </tr>
- </table>
-
- <table width="100%" cellpadding="0" cellspacing="0" height="100%">
- <tr>
- <td>
- <iframe id="frameid" name="frameid" src="temperatureFrame.action?index=101&wfId=${wfId }" frameborder="0" scrolling="auto" style="width:1850px;height: 840px" />
- </td>
- </tr>
- </table>
- </form>
- </body>
|