Oops code is too big. I have attached it to this message.
David
Hi David,Thanks for getting back to me and providing your code. Unfortunately, I was not able to get the code to work for me either by loading exactly what you have nor after tooling around with it for a little bit. As such, I think I am going to scrap the idea for tabs and try multiple container panels within a border container. But, I am even having issues with that. Here is the code I have for that:function getWindowContent(graphic) {
var bc = new dijit.layout.BorderContainer({
style: "width:600px;height:600px;background-color:lightblue;"
}, dojo.create("div"));
//display attribute information1
var german = new dijit.layout.ContentPane({
region: "leading",
content: "<p>Hallo Welt!</p><p>info</p><p>info</p><p>info</p>"
}, dojo.create("div"));
//display attribute information2
var french = new dijit.layout.ContentPane({
region: "center",
content: "<p>Bonjour tout le monde!</p><p>info</p><p>info</p><p>info</p>"
}, dojo.create("div"));
//display attribute information3
var english = new dijit.layout.ContentPane({
region: "trailing",
content: "<p>Hello World!</p><p>info</p><p>info</p><p>info</p>"
}, dojo.create("div"));
bc.addChild(german);
bc.addChild(french);
bc.addChild(english);
return bc.domNode;
}
Do you have any ideas as to why my 'german' container is not showing while the 'english' one is depicted just fine and the 'french' one is compressed? I've tried various things, but cannot seem to get it to work.Thanks,John