Select to view content in your preferred language

Flex Viewer - Popup Config for Image Hyperlink

2644
2
Jump to solution
03-08-2013 08:38 PM
ShaunWeston
Frequent Contributor
I'm trying to embed an image in the description tag like so:

    <description>
    <![CDATA[
Total Rates ($): {TotalRates}
Hectares: {Hectares}


<B><a href="{NCSURL}" target="_blank">Further Rates Information</B>
<img src="assets/images/NCSlogo.PNG" alt="NCS" height="30" width="80"/></a>
]]>
    </description>

So this works, but what I'm wanting to do is make the image clickable and go to the hyperlink, however the above doesn't work for some reason. I've got it working with another widget I made, but this config doesn't work for some reason? It works for the text, just not the image?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
BjornSvensson
Esri Regular Contributor
It might be picky on your tag closing order. Try removing your bold tags, or at least move the closing bold tag to after the closing A tag (since you started the bold before the A).

View solution in original post

0 Kudos
2 Replies
BjornSvensson
Esri Regular Contributor
It might be picky on your tag closing order. Try removing your bold tags, or at least move the closing bold tag to after the closing A tag (since you started the bold before the A).
0 Kudos
ShaunWeston
Frequent Contributor
Yeah cheers, I changed it to this:

<a href="{NCSURL}" target="_blank"><B>Further Rates Information</B>
<img src="assets/images/NCSlogo.PNG" alt="NCS" height="30" width="80"/></a>


and it works slightly better, but still not quite right. It will do for now.
0 Kudos