<?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: Assigning z-value to infoWindow in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assigning-z-value-to-infowindow/m-p/274436#M25318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may simply have to change the z-index of the .esriPopupWrapper CSS class.&lt;/P&gt;&lt;P&gt;Check out the structure of the popup using your browser's webdev toolbar to confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't work, you can access the infoWindow's domNode directly via the Map object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;map = new Map("map", {&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&amp;nbsp; center: [-93.00, 35.768],&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&amp;nbsp; zoom: 4,&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&amp;nbsp; basemap: "streets"&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;});&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;//map.infoWinfow.domNode;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this sample:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/map_infowindow.html" title="https://developers.arcgis.com/javascript/jssamples/map_infowindow.html"&gt;Show an info window | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2014 19:31:06 GMT</pubDate>
    <dc:creator>JonathanUihlein</dc:creator>
    <dc:date>2014-07-09T19:31:06Z</dc:date>
    <item>
      <title>Assigning z-value to infoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assigning-z-value-to-infowindow/m-p/274435#M25317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'times new roman', times; font-size: 12pt;"&gt;Hello, I have a infoWindow that shows up below some other div buttons on a mobile app I created.&amp;nbsp; I would like to assign the z-index of the infoWindow to a very high value so that it is always shown on top.&amp;nbsp; There was a solution for how to do this in this thread:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/61285"&gt;How to change the z order of the Infowindow - solution&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is, I do not know how to implement the part about, "&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;document.getElementById('map_infowindow').style.zIndex = 9999; ".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;&lt;SPAN style="font-family: 'times new roman', times; font-size: 12pt;"&gt;There is nowhere in my javascript which defines the infoWindow as an element you can get by Id, so I am not sure where in my code I should be defining this 'map_infowindow'.&amp;nbsp; Could anyone help me out with this?&amp;nbsp; Sorry I am still trying to learn javascript, thanks for the help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 19:20:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assigning-z-value-to-infowindow/m-p/274435#M25317</guid>
      <dc:creator>StephenFricke</dc:creator>
      <dc:date>2014-07-09T19:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning z-value to infoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assigning-z-value-to-infowindow/m-p/274436#M25318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may simply have to change the z-index of the .esriPopupWrapper CSS class.&lt;/P&gt;&lt;P&gt;Check out the structure of the popup using your browser's webdev toolbar to confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't work, you can access the infoWindow's domNode directly via the Map object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;map = new Map("map", {&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&amp;nbsp; center: [-93.00, 35.768],&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&amp;nbsp; zoom: 4,&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&amp;nbsp; basemap: "streets"&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;});&amp;nbsp; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;//map.infoWinfow.domNode;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this sample:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/map_infowindow.html" title="https://developers.arcgis.com/javascript/jssamples/map_infowindow.html"&gt;Show an info window | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 19:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assigning-z-value-to-infowindow/m-p/274436#M25318</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-07-09T19:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning z-value to infoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assigning-z-value-to-infowindow/m-p/274437#M25319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Jonathan!&amp;nbsp; Unfortunately I am a beginner and I am still not really following your solution.&amp;nbsp; How exactly would I change the z-index of the .esriPopupWrapper CSS class?&amp;nbsp; If this doesn't work, what am I writing in the code with map.infoWindow.domNode in order to specify the z-vaule?&amp;nbsp; Sorry I am not following too well, still trying to learn javascript.&amp;nbsp; Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 19:54:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assigning-z-value-to-infowindow/m-p/274437#M25319</guid>
      <dc:creator>StephenFricke</dc:creator>
      <dc:date>2014-07-09T19:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning z-value to infoWindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assigning-z-value-to-infowindow/m-p/274438#M25320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to override the Esri style in your app.&amp;nbsp; If you are using in-line styling (ex. your CSS styling is in your html file) write your style there, otherwise if you are using an external stylesheet (ex. you have a site.css file or something) write your style there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;.esriPopupWrapper{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z-index:999;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like Jonathan said, you might need to use web developer tools to "inspect" the pop-window to see what CSS properties are set.&amp;nbsp; Sometimes you need to get pretty specific to override other styles.&amp;nbsp; You may want to read about &lt;A href="http://css-tricks.com/specifics-on-css-specificity/"&gt;CSS order of precedence&lt;/A&gt;.&amp;nbsp; I have struggled with some of this very thing in my apps &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 20:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/assigning-z-value-to-infowindow/m-p/274438#M25320</guid>
      <dc:creator>IanGrasshoff</dc:creator>
      <dc:date>2014-07-09T20:22:46Z</dc:date>
    </item>
  </channel>
</rss>

