0
我試圖在這個網絡地圖應用上使用ExpandoPane(使用ArcGIS Javascript API 3.17)。我試圖將帶有兩個窗格的手風琴容器放到可摺疊的expando窗格上。任何人都可以看到爲什麼expandopane失敗(不是可摺疊的窗格,不是在「正確的」區域,而是左上角)?實施dojox /佈局/ ExpandoPane的問題
<div id="content"
data-dojo-type="dijit/layout/BorderContainer"
data-dojo-props="design:'headline', gutters:true"
style="width: 100%; height: 100%; margin: 0;">
<div id="rightPane"
data-dojo-type="dojox/layout/ExpandoPane"
data-dojo-props="region:'right',title:'Widgets',startExpanded:false">
<div data-dojo-type="dijit/layout/AccordionContainer">
<div data-dojo-type="dijit/layout/ContentPane" id="legendPane"
data-dojo-props="title:'Légende', selected:true">
<div id="legendDiv"></div>
</div>
<div data-dojo-type="dijit/layout/ContentPane"
data-dojo-props="title:'Pane 2'">
</div>
</div>
</div>
<div id="map"
data-dojo-type="dijit/layout/ContentPane"
data-dojo-props="region:'center'"
style="overflow: hidden;width: 100%; height: 100%; margin: 0;">
</div>
<div id="search"></div>
</div>
是否有特定的進口?