AnsweredAssumed Answered

ArcGIS Online Custom Popups

Question asked by priosgmtgis-esridist Employee on Apr 6, 2017
Latest reply on Oct 31, 2018 by deleted-user-pZlUMHhkW23Q

Hi,

 

I try to create a custom popup to show symbology according availability on selected areas. It works in my webmap until i save and refresh. Then when i select in map, the code its corrupted and shows symbology plus some parts of the code. I found that the error is in the "<td class={}> because arcgis online is not support "class" attribute for "td" tags. Anyone help me what i need to replace "class" attribute in my code to solve my issue?

Attach the code that im using:

<style>
.Si {
display:block;
}
.No {
display: none;
}
</style>
<b><u>Pólizas Recomendadas</u></b>
<table border="0">
<tbody><tr>
<td class={SeguroVida}><img alt="" border="0" height="32px" src="https://s3.amazonaws.com/repositoriogmt/recursos/{SeguroVida}Warning.png" width="32px" />
</td><td class={SeguroVida}><b>Seguro de Propiedad </b></td>
</tr>
<tr>
<td class={Seguro_Sismos}><img alt="" border="0" height="32px" src="https://s3.amazonaws.com/repositoriogmt/recursos/{Seguro_Sismos}Earthquake.png" width="32px" />
</td><td class={Seguro_Sismos}> <b>Seguro de Sismo</b></td>
</tr>
<tr>
<td class={SeguroDeslizamiento}><img alt="" border="0" height="32px" src="https://s3.amazonaws.com/repositoriogmt/recursos/{SeguroDeslizamiento}Deslizamiento.png" width="32px" />
</td><td class={SeguroDeslizamiento}><b>Seguro de Deslizamiento</b></td>
</tr><tr>
<td class={Seguro_Inundabilidad}><img alt="" border="0" height="32px" src="https://s3.amazonaws.com/repositoriogmt/recursos/{Seguro_Inundabilidad}Flood.png" width="32px" />
</td><td class={Seguro_Inundabilidad}><b>Seguro de Inundabilidad</b></td>
</tr></tbody></table>

 

Thanks for your help!

Outcomes