- tree.on('click', function (node){
- if(node.isLeaf()){
- Ext.get('center-iframe').dom.src = node.attributes.myprop;
- }
- });
-
- tree.on('click', function (node){
- Ext.get('center-iframe').dom.src = node.attributes.href;
- });
- Ext.onReady(function(){
var panel = new Ext.Panel({
renderTo:'pad',
frame:true,
html: '<iframe id="frame1" src="index.html" frameborder="0" width="100%" height="100%"></iframe>', - autoHeight:true,
collapsible: true,
border:true
});
//document.getElementById("frame1").src = "button.html"; -
});
TabPanel Viewport
最新推荐文章于 2024-11-15 19:51:40 发布