<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change height of foldable div dinamically in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653343#M60873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you use a z-index (in CSS or javascript) to order them so the &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;infoWindow has a higher z-index value than the foldable widget? Sorry I'm not savvy enough to whip up some code, but it might be worth investigating.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 17:05:52 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2015-02-09T17:05:52Z</dc:date>
    <item>
      <title>Change height of foldable div dinamically</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653342#M60872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I develop a Custom Edit widget for one of our clients. He wants the window Info to open in the buttom left part of the map.&lt;/P&gt;&lt;P&gt;He also wants the Edit as a foldable widget (and not a button on the map).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can do it by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; onOpen: function() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.layers = [];&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.disableWebMapPopup();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.getLayers();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.initEditor();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._onshowinfowin = on(this.map.infoWindow, "show", this.showInfoWin);&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; showInfoWin: function(evt){&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;this.location.x = this.map.extent.xmin + (this.map.extent.xmax - this.map.extent.xmin) / 12 ;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.location.y = this.map.extent.ymin;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._mapInfoWin = this.target;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(html.hasClass(evt.target._contentPane.firstChild,'esriAttributeInspector')){&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query(".titleButton.close", this.target).style('display', 'none');&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query(".titleButton.maximize", this.target).style('display', 'none');&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }else{&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query(".titleButton.close", this.target).style('display', null);&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query(".titleButton.maximize", this.target).style('display', null);&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp; &lt;/P&gt;&lt;P&gt;The problem is that the foldable widget's height takes the whole place and hides the infoWindow.&lt;/P&gt;&lt;P&gt;Attach with a screenshot that demonstrates the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to handle with it? I see few possibilities:&lt;/P&gt;&lt;P&gt;1. Fire the fold-up/fold down button&amp;nbsp; every time this infoWindow is opened. If that's the way, how to do it?&lt;/P&gt;&lt;P&gt;2. Reduce the height all the foldable widgets.&lt;/P&gt;&lt;P&gt;3. Reduce the height of only the Editor foldable widget (preferable). If that's the way, how to do it?&lt;/P&gt;&lt;P&gt;4. Any other option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much,&lt;/P&gt;&lt;P&gt;miri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 16:51:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653342#M60872</guid>
      <dc:creator>MiriEshel</dc:creator>
      <dc:date>2015-02-09T16:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Change height of foldable div dinamically</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653343#M60873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you use a z-index (in CSS or javascript) to order them so the &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;infoWindow has a higher z-index value than the foldable widget? Sorry I'm not savvy enough to whip up some code, but it might be worth investigating.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 17:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653343#M60873</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2015-02-09T17:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change height of foldable div dinamically</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653344#M60874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Blake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. That's an interesting idea. I will check how it looks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 18:13:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653344#M60874</guid>
      <dc:creator>MiriEshel</dc:creator>
      <dc:date>2015-02-09T18:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change height of foldable div dinamically</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653345#M60875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Blake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked it. The z-Index of the popup Window is 40. The z-index of the jimu-container and jimu-widget-frame and editDiv is not set and I believe it's 0 by default.&lt;/P&gt;&lt;P&gt;According to this, it should be on top but it isn't. Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Miri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 18:38:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653345#M60875</guid>
      <dc:creator>MiriEshel</dc:creator>
      <dc:date>2015-02-09T18:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change height of foldable div dinamically</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653346#M60876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try being explicit and set all of the z-indexes to what you think it should be to see if it makes a difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 18:48:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-height-of-foldable-div-dinamically/m-p/653346#M60876</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2015-02-09T18:48:42Z</dc:date>
    </item>
  </channel>
</rss>

