It's all about the answers!

Ask a question

TabContainer doesn't show tab in my page

jackey sui (111) | asked Jun 22 '12, 9:47 p.m.

I am doing RTC( extension development. I copy below code from to my HTML template file.
<div style="width: 350px; height: 300px">
     <div data-dojo-type="dijit.layout.TabContainer" style="width: 100%; height: 100%;">
         <div data-dojo-type="dijit.layout.ContentPane" title="My first tab" selected="true">
             Lorem ipsum and all around...
         <div data-dojo-type="dijit.layout.ContentPane" title="My second tab">
             Lorem ipsum and all around - second...
         <div data-dojo-type="dijit.layout.ContentPane" title="My last tab" closable="true">
             Lorem ipsum and all around - last...

And I have added below to my js file.


But the tab doesn't show as the example does. Other declarive widgets in HTML can work well except TabConainer. Anyone could help me about this. Thank you very much!


One answer

permanent link
jackey sui (111) | answered Jun 29 '12, 11:02 p.m.

Anyone could help me?

Your answer

Register or to post your answer.