Hello,

I'm working on my first EXTJS project. Basically I want one of the company wiki pages to be the content for "Building Project." It seems to work just fine the way I've done, but is there a way to load the content without using an iframe? The issue is that if the user is not logged in to the company wiki, the iframe content loads weirdly and shows up at the bottom on the first tab content (Firefox and IE). Is this a problem with my code?


function addpageTabs(tabs){

tabs.add({ //add an initial tab
title: 'Metolius Base',
contentEl: 'basemain', //Get content from the "center" div
closable: false,
autoScroll: true,
anchorTo: '1 1'
},
{ title: 'About HFG',
contentEl: 'about',
autoScroll: true,
anchorTo: '1 1'
},

{ title: 'Building Project',
contentEl: 'building',
autoScroll: true,
anchorTo: '1 1'


});

tabs.setActiveTab(0);
}



</script>



<span id="basemain">
{{include file="base_main.tpl"}}
</span>

<span id="about">
{{include file="base_abouthfg.tpl"}}
</span>

<span id="building">
<iframe src="http://metolius/confluence/display/building/Building+Project+Gallery" width="100%" height="100%" frameborder="0"></iframe>

</span>

{{include file="topfooter.tpl"}}



Thanks,

Cannon