zoukankan      html  css  js  c++  java
  • easyui 获得父级tabs跳转

    /*
                     * 跳转tabls 
                     */
                    function JumpPage(type,title,src){
                        var jq = top.jQuery;
                        var content = "<iframe id='mainFrame' frameborder='no' width='100%' height='100%' src='"+src+"'></iframe>";
                        if(type==0){
                            if (jq("#mainTabs").tabs('exists', title)){    
                            jq("#mainTabs").tabs('select', title);    
                            } else {   
                               jq("#mainTabs").tabs('add',{    
                                                  title:title,    
                                                  content:content,
                                                  bodyCls: 'cos-overflow-hidden',
                                                  closable:true    
                                                });    
                             }  
                        }else{
                           jq("#mainTabs").tabs('close',title);
                           jq("#mainTabs").tabs('add',{    
                                              title:title,    
                                              content:content,
                                              bodyCls: 'cos-overflow-hidden',
                                              closable:true    
                                            });    
                        }
                    }

  • 相关阅读:
    Windows10 搭建 ElasticSearch 集群服务
    python开发目录
    nohup命令使用
    shell脚本概述
    关于ELK
    keepalived+DR
    shell脚本中awk的用法
    shell脚本中sed的用法
    shell脚本中grep的用法
    shell检测入侵与邮件报警
  • 原文地址:https://www.cnblogs.com/ckaifeng/p/5025823.html
Copyright © 2011-2022 走看看