<?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 Pop up display options or alternatives in ArcGIS Arcade Questions</title>
    <link>https://community.esri.com/t5/arcgis-arcade-questions/pop-up-display-options-or-alternatives/m-p/1614943#M57</link>
    <description>&lt;P&gt;HI, I am trying to re-create this in an EB pop up&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hels77_0-1747266171529.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Hels77_0-1747266171529.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132290iE39B33D5F92A1B8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hels77_0-1747266171529.png" alt="Hels77_0-1747266171529.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So far the best I can do is this kind of thing.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hels77_1-1747266233259.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Hels77_1-1747266233259.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132291i8E1BC3946E235456/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hels77_1-1747266233259.png" alt="Hels77_1-1747266233259.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Its not ideal as we want the whole year in one row.&lt;BR /&gt;Just checking to see if anyone has a better idea.&lt;BR /&gt;We have over 100 points that require this data to be displayed.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 15 May 2025 12:26:58 GMT</pubDate>
    <dc:creator>ShareUser</dc:creator>
    <dc:date>2025-05-15T12:26:58Z</dc:date>
    <item>
      <title>Pop up display options or alternatives</title>
      <link>https://community.esri.com/t5/arcgis-arcade-questions/pop-up-display-options-or-alternatives/m-p/1614943#M57</link>
      <description>&lt;P&gt;HI, I am trying to re-create this in an EB pop up&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hels77_0-1747266171529.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Hels77_0-1747266171529.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132290iE39B33D5F92A1B8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hels77_0-1747266171529.png" alt="Hels77_0-1747266171529.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So far the best I can do is this kind of thing.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hels77_1-1747266233259.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Hels77_1-1747266233259.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132291i8E1BC3946E235456/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hels77_1-1747266233259.png" alt="Hels77_1-1747266233259.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Its not ideal as we want the whole year in one row.&lt;BR /&gt;Just checking to see if anyone has a better idea.&lt;BR /&gt;We have over 100 points that require this data to be displayed.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 12:26:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-arcade-questions/pop-up-display-options-or-alternatives/m-p/1614943#M57</guid>
      <dc:creator>ShareUser</dc:creator>
      <dc:date>2025-05-15T12:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pop up display options or alternatives</title>
      <link>https://community.esri.com/t5/arcgis-arcade-questions/pop-up-display-options-or-alternatives/m-p/1614974#M58</link>
      <description>&lt;P&gt;You can create your desired style using the Arcade Content Block and HTML.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Arcade Content Block" style="width: 446px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Arcade Content Block" style="width: 446px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132305i9BD67557A18F11E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="JenniferAcunto_0-1747315184237.png" alt="Arcade Content Block" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Arcade Content Block&lt;/span&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick=""&gt;Arcade Content Block&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample language-javascript"&gt;&lt;CODE&gt;// Set Colors
var redColor = '#941B0C'
var orangeColor = '#F08A4B'
var greenColor = '#3E5641'

var txtColorLight = "#FFF";
var txtColorDark = "#000";

function colorMonth(mon){
  return (When(mon &amp;lt; 0, [txtColorLight, redColor], mon &amp;lt; 5, [txtColorDark, orangeColor], [txtColorLight, greenColor]))
}

// Apply colors
var jan = colorMonth($feature.Jan_TMIN_C)
var feb = colorMonth($feature.Feb_TMIN_C)
var mar = colorMonth($feature.Mar_TMIN_C)
var apr = colorMonth($feature.Apr_TMIN_C)
var may = colorMonth($feature.May_TMIN_C)
var jun = colorMonth($feature.Jun_TMIN_C)
var jul = colorMonth($feature.Jul_TMIN_C)
var aug = colorMonth($feature.Aug_TMIN_C)
var sep = colorMonth($feature.Sep_TMIN_C)
var oct = colorMonth($feature.Oct_TMIN_C)
var nov = colorMonth($feature.Nov_TMIN_C)
var dec = colorMonth($feature.Dec_TMIN_C)


// Build HTML
var html = `&amp;lt;div style="display:flex; justify-content:space-evenly; gap: 3px;"&amp;gt;

&amp;lt;div style="background-color:${jan[1]}; color: ${jan[0]}; padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Jan&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;div style="background-color:${feb[1]}; color: ${feb[0]};  padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Feb&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
  
  &amp;lt;div style="background-color:${mar[1]}; color: ${mar[0]};   padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Mar&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;div style="background-color:${apr[1]}; color: ${apr[0]};   padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Apr&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
  
  &amp;lt;div style="background-color:${may[1]}; color: ${may[0]};  padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;May&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;div style="background-color:${jun[1]}; color: ${jun[0]};  padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Jun&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
  
  &amp;lt;div style="background-color:${jul[1]}; color: ${jul[0]};  padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Jul&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;div style="background-color:${aug[1]}; color: ${aug[0]};  padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Aug&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
  
 &amp;lt;div style="background-color:${sep[1]}; color: ${sep[0]};  padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Sep&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;div style="background-color:${oct[1]}; color: ${oct[0]};   padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Oct&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
  
  &amp;lt;div style="background-color:${nov[1]}; color: ${nov[0]};  padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Nov&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;

&amp;lt;div style="background-color:${dec[1]}; color: ${dec[0]};  padding:3px; border-radius: 5px; display:flex; justify-content:center;"&amp;gt;
  &amp;lt;p&amp;gt;Dec&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
  
&amp;lt;/div&amp;gt;`

return { 
	type : 'text', 
	text : html //this property supports html tags 
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may need to adjust the sizing a bit, but that should get you on the right path.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JenniferAcunto_1-1747315464074.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="JenniferAcunto_1-1747315464074.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132307i84FF6FBD3CA55CEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JenniferAcunto_1-1747315464074.png" alt="JenniferAcunto_1-1747315464074.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/part-1-introducing-arcade-pop-up-content-elements" target="_self" rel="nofollow noopener noreferrer"&gt;Introducing Arcade pop-up content elements&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/" target="_self" rel="nofollow noopener noreferrer"&gt;ArcGIS Arcade/Function Reference&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 13:32:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-arcade-questions/pop-up-display-options-or-alternatives/m-p/1614974#M58</guid>
      <dc:creator>ShareUser</dc:creator>
      <dc:date>2025-05-15T13:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pop up display options or alternatives</title>
      <link>https://community.esri.com/t5/arcgis-arcade-questions/pop-up-display-options-or-alternatives/m-p/1618811#M62</link>
      <description>&lt;P&gt;Jen this is great! I only just read your post, will give it a go right now.&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 10:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-arcade-questions/pop-up-display-options-or-alternatives/m-p/1618811#M62</guid>
      <dc:creator>ShareUser</dc:creator>
      <dc:date>2025-05-28T10:38:56Z</dc:date>
    </item>
  </channel>
</rss>

