Select to view content in your preferred language

Pop-Up 2.3.1 Text Color Change

2570
20
05-03-2011 07:34 AM
TomLucky
New Contributor III
I am having an issue with the new 2.3.1 pop-up text changing color from white to black after a hyperlink is clicked.  I can query features without any problems with the color until I click the hyperlink in my description section.  The hyperlink works correctly, however after opening the hyperlink, all the pop-up descriptions have a text color of black instead of white.  Only the text in the description is black which makes it difficult to read against the dark pop-up background.  The title, "Zoom To" link, and even the hyperlink in my description remain white.  I am using the unmodified 2.3.1 FlexViewer.  Below is my pop-up configuration.

<?xml version="1.0" ?>
<configuration>
    <title>{Tax_Parcel.CAMA_PIN}</title>
 <description>
     <![CDATA[<b>Address:  </b>{TAX2010.Address}<b><br>Owner:  </b>{TAX2010.owner}<b><br>Co-Owner:  </b>{TAX2010.co_owner}<b><br>Tax District:  </b>{TAX2010.tax_district}<br><a href='http://indekalb/departments/taxcommissioner/Display.asp?parcel={Tax_Parcel.CAMA_PIN}'><b>Property Tax Link</b></a>]]>
 </description>
</configuration>

<!--
    Pop-up configuration file for:
    http://gis-image-srv1/ArcGIS/rest/services/Parcels/MapServer/26
-->


Any suggestions?

Thanks,

Tom
Tags (2)
0 Kudos
20 Replies
AlexFriant
New Contributor
This is for people who can't access the code to use the code solution provided in the above posts.

A low tech solution is to insert the <font> tag directly into the description.  If you include font color and font face, then the font tag will over ride this bug.

For example:
<![CDATA[<a href='{URL}'><font color="#007FFF" face="arial">Live website data</font></a>]]>

If you use that then even if you click the link, the pop windows you open afterward will all have the same font & color as the original.  Modify colors & faces to suit your requirements.
0 Kudos