| | |
| | | |
| | | function timetype_change1(){ |
| | | if(mars3d.global_variables.timetype == "min"){ |
| | | $(".menu1").attr('onclick'," "); //$("#名称").attr("属性名","属性值"); |
| | | haoutil.msg("请切换至天或时查看数据!!!"); |
| | | $(".menu1").attr('onclick',"minClick()"); |
| | | }else{ |
| | | $(".menu1").attr('onclick',"javascript:activateWidget('widgetsTS/widget_summary/widget.js')"); //$("#名称").attr("属性名","属性值"); |
| | | } |
| | | } |
| | | function timetype_change2(){ |
| | | if(mars3d.global_variables.timetype == "min"){ |
| | | $(".menu2").attr('onclick'," "); //$("#名称").attr("属性名","属性值"); |
| | | haoutil.msg("请切换至天或时查看数据!!!"); |
| | | $(".menu2").attr('onclick',"minClick()"); |
| | | }else{ |
| | | $(".menu2").attr('onclick',"javascript:activateWidget('widgetsTS/widget_search/widget.js')"); //$("#名称").attr("属性名","属性值"); |
| | | } |
| | | } |
| | | function timetype_change3(){ |
| | | if(mars3d.global_variables.timetype == "min"){ |
| | | $(".menu3").attr('onclick'," "); //$("#名称").attr("属性名","属性值"); |
| | | haoutil.msg("请切换至天或时查看数据!!!"); |
| | | $(".menu3").attr('onclick',"minClick()"); |
| | | }else{ |
| | | $(".menu3").attr('onclick',"javascript:activateWidget('widgetsTS/widget_grid/widget.js')"); //$("#名称").attr("属性名","属性值"); |
| | | } |
| | |
| | | |
| | | function timetype_change4(){ |
| | | if(mars3d.global_variables.timetype == "min"){ |
| | | $(".menu4-Wind").attr('onclick'," "); //$("#名称").attr("属性名","属性值"); |
| | | haoutil.msg("请切换至天或时查看数据!!!"); |
| | | $(".menu4-Wind").attr('onclick',"minClick()"); |
| | | }else{ |
| | | $(".menu4-Wind").attr('onclick',"javascript:activateWidget('widgetsTS/windsetting/widget.js');javascript:$('#menu4Child').toggle()"); //$("#名称").attr("属性名","属性值"); |
| | | } |
| | | } |
| | | |
| | | function timetype_change5(){ |
| | | // if(mars3d.global_variables.timetype == "min"){ |
| | | // $(".menu5-Taxirouter").attr('onclick'," "); //$("#名称").attr("属性名","属性值"); |
| | | // haoutil.msg("请切换至天或时查看数据!!!"); |
| | | // }else{ |
| | | $(".menu5-Taxirouter").attr('onclick',"javascript:activateWidget('widgetsTS/taxiRouteReplay2/widget.js');javascript:$('#menu4Child').toggle()"); //$("#名称").attr("属性名","属性值"); |
| | | // } |
| | | } |
| | | |
| | | |
| | | function minClick(){ |
| | | haoutil.msg("请切换至天或时查看数据!!!") |
| | | } |