<?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: How To Keep Layers Button Open? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258640#M12699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i'm curious to know if this can be done by loading the extra CSS into default application after it loads, using OnLoad or some other method. I started a separate thread here, since it seemed like a distinct question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/62862-How-To-Change-Application-CSS-with-OnLoad"&gt;http://forums.arcgis.com/threads/62862-How-To-Change-Application-CSS-with-OnLoad&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'd like to just tweak the default app if possible, since it looks so great. And, isn't that the idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i don't mind using javascript or php to mod the layers palette css.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;help is much appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2012 04:05:22 GMT</pubDate>
    <dc:creator>JohnWeiss</dc:creator>
    <dc:date>2012-07-23T04:05:22Z</dc:date>
    <item>
      <title>How To Keep Layers Button Open?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258636#M12695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm using the embedded application here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.bayviewfootprints.org/asset-map.html"&gt;http://www.bayviewfootprints.org/asset-map.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i keep the Layers button open at all times? It's the element with widgetID=layerBtn.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prefer CSS, but javascript ok too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Feb 2012 05:21:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258636#M12695</guid>
      <dc:creator>johnywhy</dc:creator>
      <dc:date>2012-02-11T05:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: How To Keep Layers Button Open?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258637#M12696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found these samples that might help...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_dynamiclayerlist.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_dynamiclayerlist.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_explicitlayerlist.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_explicitlayerlist.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 15:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258637#M12696</guid>
      <dc:creator>MikeMinami</dc:creator>
      <dc:date>2012-02-13T15:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: How To Keep Layers Button Open?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258638#M12697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i'd like to do this in css, if possible. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is the item to target:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]&amp;lt;div id="popup_43" class="dijitPopup dijitMenuPopup" style="visibility: visible; top: 33px; z-index: 1000; left: 85.8px; display: none;" role="presentation" dijitpopupparent="layerBtn"&amp;gt;[/HTML]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in a live css editor (like firebug), by changing&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;display: none;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;display: ;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that has the desired effect of keeping the palette open. great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;unfortunately, the div's ID changes everytime js opens it, so we cannot target it's ID. In the example above, it's "popup_43". Next time user clicks it, it becomes "popup_44". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so we need to target it a different way. i think the only unique attribute is the custom attribute: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dijitpopupparent="layerBtn"&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i tried targeting this with the following css, but it has no effect:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;div[dijitpopupparent="layerBtn"]
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; display:;
&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what's wrong with my css here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:44:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258638#M12697</guid>
      <dc:creator>JohnWeiss</dc:creator>
      <dc:date>2021-12-11T12:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: How To Keep Layers Button Open?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258639#M12698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some input from one of our developers...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I don't think they'll be able to easily keep the drop down layer list open. They would be better off removing the existing layer list from the drop down button and positioning it where they'd like - maybe floating on the map? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 21:41:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258639#M12698</guid>
      <dc:creator>MikeMinami</dc:creator>
      <dc:date>2012-07-18T21:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: How To Keep Layers Button Open?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258640#M12699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i'm curious to know if this can be done by loading the extra CSS into default application after it loads, using OnLoad or some other method. I started a separate thread here, since it seemed like a distinct question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/62862-How-To-Change-Application-CSS-with-OnLoad"&gt;http://forums.arcgis.com/threads/62862-How-To-Change-Application-CSS-with-OnLoad&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'd like to just tweak the default app if possible, since it looks so great. And, isn't that the idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i don't mind using javascript or php to mod the layers palette css.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;help is much appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 04:05:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258640#M12699</guid>
      <dc:creator>JohnWeiss</dc:creator>
      <dc:date>2012-07-23T04:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: How To Keep Layers Button Open?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258641#M12700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;They would be better off removing the existing layer list from the drop down button and positioning it where they'd like - maybe floating on the map? &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that sounds swell. What would be the simplest way to turning the existing palette into that? I'd like to use the existing html/css for that palette, with least tweaks necessary. Basically, remove the click-code and remove the display:none; style so it stays visible, and give it position:absolute;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;many thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 04:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258641#M12700</guid>
      <dc:creator>JohnWeiss</dc:creator>
      <dc:date>2012-07-23T04:35:31Z</dc:date>
    </item>
    <item>
      <title>Please Help!</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258642#M12701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in layout.css, i tried two more css ways to target the parent div of the layers popup. Neither worked:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CSS2 to target the first sibling of #bc&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;div#bc + div{
 display: auto;
 }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CSS3 to target 2nd child of body&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;body :nth-child(2) {
 display: auto;
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i suspect this must be done in JS, perhaps involving an OnLoad event. Someone please reply! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Css topic is here, or here's a thread re OnLoad events&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/62862-How-To-Change-Application-CSS-with-OnLoad" rel="nofollow noopener noreferrer" target="_blank"&gt;http://forums.arcgis.com/threads/62862-How-To-Change-Application-CSS-with-OnLoad&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:44:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258642#M12701</guid>
      <dc:creator>JohnWeiss</dc:creator>
      <dc:date>2021-12-11T12:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: How To Keep Layers Button Open?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258643#M12702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One reason I hope to accomplish this as a mod of the default application, is so my non-tech admin can add or remove feeds or make other changes using the arcgis web-builder GUI, generate a new map, and then just plug-in this floating-palette tweak. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to exploit existing drag n drop management tools. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does a plugin architecture exist for exactly this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 03:10:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258643#M12702</guid>
      <dc:creator>JohnWeiss</dc:creator>
      <dc:date>2012-09-04T03:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: How To Keep Layers Button Open?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258644#M12703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you wanting to plug your changes back into the hosted application running on ArcGIS Online? There is no ability to do this. The only thing you can do is download the code from a template, modify it, then host it on your own web server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you figure out your difficulties from the previous post? You'll probably get a better response by posting in the JavaScript API forum&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript"&gt;http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's where the developers hang out...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 17:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-keep-layers-button-open/m-p/258644#M12703</guid>
      <dc:creator>MikeMinami</dc:creator>
      <dc:date>2012-09-04T17:45:18Z</dc:date>
    </item>
  </channel>
</rss>

