123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684 |
- <%@ page language="java" contentType="text/html;charset=utf-8"%>
- <%@include file="/pages/includes/taglibs.jsp"%>
- <html>
- <head>
- <title>国电电力山西新能源开发有限公司生产运行监控平台</title>
- <link rel="shortcut icon" href="favicon.ico" type=”image/x-icon” />
- <style>
- body {
- font-size: 12px;
- margin-left: 0px;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- }
- @font-face {
- font-family: 'fontNameRegular';
- src:
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.eot');
- src: local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont Regular'
- ),
- local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont'),
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.woff')
- format('woff'),
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.ttf')
- format('truetype'),
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.svg#fontName')
- format('svg');
- font-size: 20px;
- font-weight: bolder;
- }
- </style>
- <script
- src="<%=request.getContextPath()%>/resource/js/jquery-1.10.2.min.js"
- type="text/javascript"></script>
- <link rel="stylesheet" type="text/css"
- href="<%=request.getContextPath()%>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
- <script
- src="<%=request.getContextPath()%>/resource/plugin/jqueryui/js/jquery-ui-1.9.2.custom.js"
- type="text/javascript"></script>
- <script
- src="<%=request.getContextPath()%>/resource/plugin/jqueryui/development-bundle/ui/jquery.ui.widget.js"></script>
- <script
- src="<%=request.getContextPath()%>/resource/plugin/jqueryui/development-bundle/ui/jquery.ui.tabs.js"></script>
- <style>
- .ui-tabs {
- position: relative;
- padding: .31px;
- zoom: 1;
- }
- /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
- .ui-tabs .ui-tabs-nav {
- margin: 0;
- padding: .31px .31px 0;
- }
- .ui-tabs .ui-tabs-nav li {
- list-style: none;
- float: left;
- position: relative;
- top: 0;
- margin: 2px .2px 0 0;
- border-bottom: 0;
- padding: 0;
- white-space: nowrap;
- }
- .ui-tabs .ui-tabs-nav li a {
- float: left;
- padding: .2em 30px;
- text-decoration: none;
- }
- .ui-tabs .ui-tabs-nav li.ui-tabs-active {
- margin-bottom: -1px;
- padding-bottom: 1px;
- }
- .ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a
- {
- cursor: text;
- }
- .ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a
- {
- cursor: pointer;
- }
- /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
- .ui-tabs .ui-tabs-panel {
- display: block;
- border-width: 0;
- padding: 0em 0em;
- background: none;
- }
- .ui-tooltip {
- padding: 8px;
- position: absolute;
- z-index: 9999;
- max-width: 300px;
- -webkit-box-shadow: 0 0 5px #aaa;
- box-shadow: 0 0 5px #aaa;
- }
- </style>
- <script type="text/javascript">
- </script>
- <script type="text/javascript">
- var $tabs = null;
- window.onkeydown= function(e){
- e.keyCode = 0;
- e.returnvalue = false;
- }
- $(function() {
- $tabs =$( "#tabs" ).tabs({
- select: function(event, ui) {
- // ui.tab锚元素选中的标签页
- // ui.panel 锚元素选中的标签页的内容
- // ui.index 锚元素选中的标签页的索引(从0开始)
- if(ui.index==0)
- {
-
-
- }
- else if(ui.index==1)
- {
-
- <%-- $("#tab2").attr("src","<%=request.getContextPath()%>/matrix/monitormainIndex.action");
- $("#tab1").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank"); --%>
-
- }
- else if(ui.index==2)
- {
- $("#tab3").attr("src","<%=request.getContextPath()%>/matrix/monitorqf.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
-
- }
- else if(ui.index==3)
- {
- $("#tab4").attr("src","<%=request.getContextPath()%>/apdata/apdatalayout.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
-
- }
- else if(ui.index==4)
- {
- $("#tab5").attr("src","<%=request.getContextPath()%>/analysis/analysislayout.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
-
- }
- else if(ui.index==5)
- {
-
- $("#tab6").attr("src","<%=request.getContextPath()%>/layout.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
-
- }
- else if(ui.index==6)
- {
-
- $("#tab7").attr("src","<%=request.getContextPath()%>/gradeassess/gmlayouts.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
-
- }
- else if(ui.index==7)
- {
- $("#tab8").attr("src","<%=request.getContextPath()%>/electricalwarn/layoutwarnIndex.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
-
-
- }
- else if(ui.index==8)
- {
- $("#tab9").attr("src","<%=request.getContextPath()%>/reportview/reportlayouts.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
-
- }
-
- }
- });
- });
- function clicktab2()
- {
- $("#tab2").attr("src","<%=request.getContextPath()%>/matrix/monitormainIndex.action");
- $("#tab1").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
- }
- function clicktab1()
- {
- <%-- $("#tab1").attr("src","<%=request.getContextPath()%>/Html5/1234/ldjsc.htm"); --%>
- $("#tab1").attr("src","<%=request.getContextPath()%>/desktop.action");
- $("#tab3").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
- }
- function clicktab10()
- {
- $("#tab10").attr("src","<%=request.getContextPath()%>/matrix/matrixList.action");
- $("#tab3").attr("src","about:blank");
- $("#tab1").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
-
- }
- function clicktab3()
- {
- $("#tab11").attr("src","<%=request.getContextPath()%>/agc/agcindexNew.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
- $("#tab12").attr("src","about:blank");
- $("#tab13").attr("src","about:blank");
- }
- function clicktab4()
- {
- $("#tab11").attr("src","<%=request.getContextPath()%>/agc/agcindexNew.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
- $("#tab12").attr("src","about:blank");
- $("#tab13").attr("src","about:blank");
- }
- function clicktab12()
- {
- $("#tab12").attr("src","<%=request.getContextPath()%>/matrix/indexStatus.action");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
- $("#tab11").attr("src","about:blank");
- $("#tab13").attr("src","about:blank");
- }
- function clicktab13(){
- $("#tab13").attr("src","http://11.0.118.58:8070/bi/showreport.do?resid=EBI$12$9UUFC0MUONU6M4JUCUNZY7WWY6U7CO60$1$OCI9UNJAUUY3B61C1FYEK01A42CUZFSY.rpttpl&id=admin&pw=admin&showmenu=false&showparams=true&calcnow=true");
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab10").attr("src","about:blank");
- $("#tab11").attr("src","about:blank");
- $("#tab12").attr("src","about:blank");
- }
- <%-- function clicktab11()
- {
- $("#tab12").attr("src","<%=request.getContextPath()%>/matrix/monitornew.action");
- $("#tab10").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab1").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- $("#tab6").attr("src","about:blank");
- $("#tab7").attr("src","about:blank");
- $("#tab8").attr("src","about:blank");
- $("#tab9").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- } --%>
- </script>
- </head>
- <body>
- <table width="1899px" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="50px" align="right" valign="top"
- background="<%=request.getContextPath()%>/resource/images/hbsj/benner.png">
- </td>
- </tr>
- </table>
- <div id="tabs"
- style="width: 1899px;height: 879px;border: 0px;margin: 0px">
- <ul>
- <li><a href="#tabs-1" onclick="clicktab1()"
- style="cursor: pointer;">领导驾驶舱</a>
- </li>
- <li><a href="#tabs-2" onclick="clicktab2()">状态监视
- </a>
- </li>
- <li><a href="#tabs-3" >设备矩阵
- </a>
- </li>
- <li><a href="#tabs-4">性能分析</a>
- </li>
- <li><a href="#tabs-5">对标管理</a>
- </li>
- <li><a href="#tabs-6">指标排行</a>
- </li>
- <li><a href="#tabs-7">等级评估</a>
- </li>
- <li><a href="#tabs-8" id="tab_8">报警中心</a>
- </li>
- <li><a href="#tabs-9">报表管理</a>
- </li>
- <li><a href="#tabs-10" onclick="clicktab10()"
- style="cursor: pointer;">状态管理</a>
- </li>
- <!--<li><a href="#tabs-12" onclick="clicktab12()"
- style="cursor: pointer;">通讯监视</a>
- </li>
- -->
- <li><a href="#tabs-13" onclick="clicktab13()"
- style="cursor: pointer;">公司日报</a>
- </li>
-
- <!-- <li><a href="#tabs-12" onclick="clicktab11()" style="cursor: pointer;">明细矩阵</a></li> -->
- </ul>
- <div id="tabs-1" style="border: 0px;margin: 0px">
- <iframe id="tab1" src="<%=request.getContextPath()%>/desktop.action"
- style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px"
- frameborder="0" width="1899px" height="880px" scrolling="no"></iframe>
- </div>
- <div id="tabs-2">
- <iframe id="tab2" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1899px"
- height="880px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-3">
- <iframe id="tab3" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1899px"
- height="880px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-4">
- <iframe id="tab4" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1899px"
- height="880px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-5">
- <iframe id="tab5" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1890px"
- height="880px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-6">
- <iframe id="tab6" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1890px"
- height="879px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-7">
- <iframe id="tab7" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1890px"
- height="879px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-8">
- <iframe id="tab8" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1890px"
- height="879px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-9">
- <iframe id="tab9" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1890px"
- height="879px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-10">
- <iframe id="tab10" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1890px"
- height="879px" scrolling="auto"></iframe>
- </div>
-
- <!--<div id="tabs-12">
- <iframe id="tab12" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1890px"
- height="879px" scrolling="no"></iframe>
- </div>
- -->
-
- <div id="tabs-13">
- <iframe id="tab13" src="about:blank" style="border: 0px;margin: 0px"
- marginwidth="0px" marginheight="0px" frameborder="0" width="1890px"
- height="879px" scrolling="no"></iframe>
- </div>
- </div>
- <style type="text/css">
- ul {
- list-style: none;
- }
- .slides {
- position: fixed;
- right: 0;
- top: 94%;
- }
- </style>
- <!--侧边栏-->
- <div class="slides">
- <div id='switch_pic' title="开启或关闭实时报警弹出!"
- style="cursor:hand;width: 30px;height: 30px;" onclick="doSwitch();">
- </div>
- </div>
- <div id="jquery_jplayer_1"></div>
- <script
- src="<%=request.getContextPath()%>/resource/js/jquery.toast.min.js"></script>
- <link rel="stylesheet" type="text/css"
- href="<%=request.getContextPath()%>/resource/css/jquery.toast.min.css" />
- <script
- src="<%=request.getContextPath()%>/resource/js/jplayer/jquery.jplayer.min.js"></script>
- <script type="text/javascript">
- function doSwitch(){
- var isRun = getCookie('lug.gdhf.gyee');
- if(isRun==null || isRun == 'run'){
- setCookie('lug.gdhf.gyee','stop');
- $("#switch_pic")[0].style.background = "url('/resource/images/system/close.png')";
- }else{
- setCookie('lug.gdhf.gyee','run');
- $("#switch_pic")[0].style.background = "url('/resource/images/system/open.png')";
- }
- }
- function setCookie(name,value){//两个参数,一个是cookie的名子,一个是值
- var Days = 30; //此 cookie 将被保存 30 天
- var exp = new Date(); //new Date("December 31, 9998");
- exp.setTime(exp.getTime() + Days*24*60*60*1000);
- document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString();
- var message;
- var bg_color;
- if(value=='stop'){
- message='页面实时报警关闭成功';
- bg_color='#857788';
- }else{
- message='页面实时报警开启成功';
- bg_color='#5EA279';
- }
- $.toast({
- heading: '报警信息',
- text: message,
- position: 'bottom-right',
- bgColor: bg_color, // Background color of the toast
- textColor: '#ffffff', // Text color of the toast
- textAlign: 'left', // Text alignment i.e. left, right or center
- loader: true, // Whether to show loader or not. True by default
- loaderBg: '#b5ff44', // Background color of the toast loader
- showHideTransition: 'slide',
- hideAfter:false,
- stack: false
- });
- }
- function getCookie(name){//取cookies函数
- var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
- if(arr != null) return unescape(arr[2]); return null;
- }
- var version;
- function message(){
- var isRun = getCookie('lug.gdhf.gyee');
- if(isRun==null){
- isRun = 'run';
- setCookie('lug.gdhf.gyee','run');
- }
- if(isRun=='stop'){//实时改变图标
- $("#switch_pic")[0].style.background = "url('/resource/images/system/close.png')";
- return;
- }else{
- $("#switch_pic")[0].style.background = "url('/resource/images/system/open.png')";
- }
- $.ajax({
- url: "<%=request.getContextPath()%>/message/warning.action",
- cache: false,
- dataType: "json",
- type: "post",
- data: {
- 'version': version
- },
- timeout: 3000,
- success: function (msg) {
- if(msg!=null&&msg!=''){
- if((version != null && version < msg.version) && msg.message != null){
- version = msg.version;
- doSound();//用的时候打开,防止提交后别人重复报警
- var message = '<a href="#" onclick="mockClick();">';
- message = message + msg.message;
- message = message + '</a>';
- $.toast({
- heading: '报警信息',
- text: message,
- position: 'bottom-right',
- bgColor: '#d5634a', // Background color of the toast
- textColor: '#ffffff', // Text color of the toast
- textAlign: 'left', // Text alignment i.e. left, right or center
- loader: true, // Whether to show loader or not. True by default
- loaderBg: '#b5ff44', // Background color of the toast loader
- hideAfter:false,
- showHideTransition: 'slide',
- stack: false
- });
- }else if(version == null && msg.version!=null){//第一次加载页面,不报警
- version = msg.version;
- }
-
- }
- }
- })
- }
-
- function doSound(){
- if(!!window.ActiveXObject || "ActiveXObject" in window){
- $("#jquery_jplayer_1").jPlayer({
- ready: function () {
- $(this).jPlayer("setMedia", {
- mp3: "<%=request.getContextPath()%>/resource/js/jplayer/warn.mp3"
- });
- $(this).jPlayer("play");
- },
- swfPath: "<%=request.getContextPath()%>/resource/js/jplayer",
- supplied: "mp3"
- }).jPlayer("play");
- }else{
- $("#jquery_jplayer_1").jPlayer({
- ready: function () {
- $(this).jPlayer("setMedia", {
- oga: "<%=request.getContextPath()%>/resource/js/jplayer/warn.ogg"
- });
- $(this).jPlayer("play");
- },
- swfPath: "<%=request.getContextPath()%>/resource/js/jplayer",supplied : "oga"}).jPlayer("play");
- }
- }
- function mockClick() {
- $("#tab_8").trigger("click");
- }
- window.onload = function() {
- var isRun = getCookie('lug.gdhf.gyee');
- if (isRun != null && isRun == 'stop') {//实时改变图标
- $("#switch_pic")[0].style.background = "url('/resource/images/system/close.png')";
- } else {
- $("#switch_pic")[0].style.background = "url('/resource/images/system/open.png')";
- }
- window.setInterval(message, 20000);
- };
- </script>
- </body>
- </html>
|