12345678910111213141516 |
- /**
- * 在主框架新建Tab
- * {tabid:id,text:txt,url:url,icon:icon}
- * @param conf
- */
- function addTabItem(conf)
- {
- top.tab.addTabItem(conf);
- }
- /**
- * 关闭主框架的tab选项
- * @param tabId
- */
- function closeTabItem(tabId){
- top.tab.removeTabItem(tabId);
- }
|