melvgomez

How to- Trying to get Accordion Container to work with TOC/Legend Widget

Discussion created by melvgomez on Jul 30, 2013
Latest reply on Jul 30, 2013 by melvgomez
Hello,

I was using your previous example to build my TOC/Legend Widget and I got it up and running, but now I am having trouble getting my Accordion Container to appear. Everything is showing all at once in my legend.
How did you get your accordion container to continue working with the TOC?

Am I missing something in this portion of my code:

<!--Start All Div Tags in Left Pane for Accordion Container-->
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'left'" id="leftPane">
<div data-dojo-type="dijit.layout.AccordionContainer">

<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title:'Legend'">
Political Boundaries

<!--add legend here-->
<div data-dojo-type="dijit.layout.ContentPane" id="legendPane"
data-dojo-props="title:'Legend', selected:true">
<!--<div id="legendDiv"></div>-->
<div id="tocDiv">
</div>
</div>
<!--end adding legend here-->


<!--start adding print button here-->
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title:'Print'">
<div id="printButton">
</div>
</div>
<!--end print button here-->

<!--start bookmark here-->
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title:'Bookmark'">
<div id="bookmark"></div>
</div>
</div>
</div>
</div>
<!--end bookmark here-->
<!--End all Div Tags in Left Pane for Accordion Container-->


Please help, thanks..

Outcomes