Select to view content in your preferred language

Change label color in Identify info pop up

665
2
07-29-2010 02:51 PM
ChrisOwen
Occasional Contributor
I implemented the hyperlink for the Identify tool per this forum http://forums.esri.com/Thread.asp?c=158&f=2421&t=295783 ;  then decided to change the font color in the Identify widget per this forum http://forums.esri.com/Thread.asp?c=158&f=2421&t=295586&mc=5 .  I was able to make the font color change, but now the Identify pop up shows the code rather than the color change. <font color=#FF000, etc.
Hopefully, someone can help me out with this.
Thanks,
Chris
Tags (2)
0 Kudos
2 Replies
ChrisOwen
Occasional Contributor
I figured this out - I did not update the InfoPopup.mxml with the supported html text.
Maybe this will help comeone with the same problem.
Chris
0 Kudos
AlexSanders
Frequent Contributor
I'm trying to implement this on the pop up of the identify widget.  So you're saying you didn't change anything in the IdentfyWidget.mxml?

Here's what I'm trying to do bu the font in the pop up continues to be black
if(onlylistedlayers == false){
       for (fld in obj){
        try{
         value = obj[fld] ? String(obj[fld]) : "";
        } catch (error: Error) {
         value = "";
        }
        value.replace(/</g,"&gt;").replace(/>/g,"&lt;");
        content += "<b>" + fld + ":  </b><font color='0xFF0000'>"+ value + "</font><br \>";
       }


Any ideas?
0 Kudos