<?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: Collapsing a DIV, then Reopen it? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670563#M62547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been looking into bootstrap styling.&amp;nbsp; This isn't setup as a tool, it's more checking the size of the screen and responding by collapsing the sidebar when the window is too small.&amp;nbsp; I have an 'everything must work on mobile' mandate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://tomwayson.github.io/responsive-citizens/" title="http://tomwayson.github.io/responsive-citizens/"&gt;Citizen Request&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2015 21:06:22 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2015-10-29T21:06:22Z</dc:date>
    <item>
      <title>Collapsing a DIV, then Reopen it?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670561#M62545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone!&amp;nbsp; I was wondering if anyone has developed an application where you have a DIV that contains a legend, then you have an arrow or button that collapses it within an application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, how can this be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CollapsingDIV.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/134155_CollapsingDIV.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The result would be more map space:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MapExpandedAfterCollapsingDIV.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/134168_MapExpandedAfterCollapsingDIV.jpg" style="width: 620px; height: 450px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&amp;nbsp; This will be the first time trying this out.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 20:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670561#M62545</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2015-10-29T20:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Collapsing a DIV, then Reopen it?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670562#M62546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.ashland.or.us/cemetery/" title="http://gis.ashland.or.us/cemetery/"&gt;City of Ashland Cemetery&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/134169_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 20:51:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670562#M62546</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-10-29T20:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Collapsing a DIV, then Reopen it?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670563#M62547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been looking into bootstrap styling.&amp;nbsp; This isn't setup as a tool, it's more checking the size of the screen and responding by collapsing the sidebar when the window is too small.&amp;nbsp; I have an 'everything must work on mobile' mandate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://tomwayson.github.io/responsive-citizens/" title="http://tomwayson.github.io/responsive-citizens/"&gt;Citizen Request&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 21:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670563#M62547</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-29T21:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Collapsing a DIV, then Reopen it?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670564#M62548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice find Tracy Schloss!&amp;nbsp;&amp;nbsp; Nice work Tom Wayson.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 23:28:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670564#M62548</guid>
      <dc:creator>MichaelJenkins</dc:creator>
      <dc:date>2015-10-29T23:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Collapsing a DIV, then Reopen it?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670565#M62549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bootstrapmap is on ESRI's gitHub, &lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp; Bootstrap-map by itself only gets you part of the way, because the examples deal largely with just the map itself and not much on a complete interface.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt; I've had several instances where I've replaced Map with BootstrapMap, largely because it does a better job of resizing itself automatically, and you don't have to code listeners for that circumstance.&amp;nbsp; It might be the part of a solution for you, Ian, since once the sidebar is collapsed, you'll need the map to resize to fill out the frame.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also got ideas from:&lt;/P&gt;&lt;P&gt;&lt;A href="http://odoe.net/blog/dojo-bootstrap-with-arcgis-javascript-api/" style="line-height: 1.5;" title="http://odoe.net/blog/dojo-bootstrap-with-arcgis-javascript-api/"&gt;http://odoe.net/blog/dojo-bootstrap-with-arcgis-javascript-api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esri.github.io/dojo-bootstrap-map-js/" title="http://esri.github.io/dojo-bootstrap-map-js/"&gt;Dojo Bootstrap Map&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://tomwayson.com/2014/04/30/using-bootstrap-map-you-might-not-need-jquery/" title="http://tomwayson.com/2014/04/30/using-bootstrap-map-you-might-not-need-jquery/"&gt;Using Bootstrap Map? You Might Not Need jQuery… | Tom Wayson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/responsive-map-js" title="https://github.com/Esri/responsive-map-js"&gt;Esri/responsive-map-js · GitHub&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 13:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/collapsing-a-div-then-reopen-it/m-p/670565#M62549</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-30T13:35:31Z</dc:date>
    </item>
  </channel>
</rss>

