日期:2014-05-16 浏览次数:20296 次
msgTree.on("click", function(id) { if(id.id==11){ content.add({ xtype:'panel', height:500, // closable: true, id:'all_log', title:'全局日志', html : '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="../logPanel/allLog.html"></iframe>' }); } if(id.id==12){ content.add({ xtype:'panel', height:500, closable: true, id:'dns_log', title:'DNS日志', html : '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="../logPanel/dnsLog.html"></iframe>' }); } if(id.id==13){ content.add({ xtype:'panel', height:500, closable: true, id:'email_log', title:'Email信息', html : '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="../logPanel/allLog.html"></iframe>' }); } if(id.id==14){ content.add({ xtype:'panel', height:500, closable: true, id:'ftp_log', title:'FTP传输', html : '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="../logPanel/ftpLog.html"></iframe>' }); } if(id.id==15){ content.add({ xtype:'panel', height:500, closable: true, id:'http_log', title:'HTTP请求日志', html : '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="../logPanel/httpLog.html"></iframe>' }); } if(id.id==16){ content.add({ xtype:'panel', height:500, closable: true, id:'msn_log', title:'MSN日志', html : '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="../logPanel/msnLog.html"></iframe>' }); } if(id.id==17){ content.add({ xtype:'panel', height:500, closable: true, id:'yahoo_log', title:'Yahoo日志', html : '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="../logPanel/yahooLog.html"></iframe>' }); });