Select to view content in your preferred language

Info Popup with Link Icon

989
3
Jump to solution
04-03-2013 09:45 AM
EricStarn2
Emerging Contributor
Hello All,

I am looking for a popup info window type thing for my layer that just shows some text info about the object and an icon which will take you to an external link.

Any help or ideas

Eric
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Honored Contributor
Eric,

In the description you can use basic HTML to create what ever you want:

By default, the pop-up shows the visible fields in a key-value styled table. Alternatively, you can use this tag to present it in a different manner, for example, in a sentence or paragraph structure:

<description>
    <![CDATA[<b>Hurricane {NAME}</b> was a <i>category {CAT}</i> hurricane that occurred in {BASIN} on {TRACK_DATE}. It had a wind speed of {WIND_KTS} knots.]]>
</description>

The description supports field substitution using a {FIELD} style syntax. The description shown below the title and above any media and/or attachments. Basic Flash Player HTML is supported:
Anchor tag (<a>)
Bold tag (<b>)
Break tag (<br>)
Font tag (<font>)
Image tag (<img>)
Italic tag (<i>)
List item tag (<li>)
Paragraph tag (<p>)
Text format tag (<textformat>)
Underline tag (<u>)

Regards

Anthony

View solution in original post

0 Kudos
3 Replies
AnthonyGiles
Honored Contributor
0 Kudos
EricStarn2
Emerging Contributor
Anthony,

The PopUp window is good but I am also looking at putting a link to an external webpage and it only looks like you can only use a larger image and then link that instead of a simple icon.

Unless there is a way to do this but I did not see it in the tag references.

Eric
0 Kudos
AnthonyGiles
Honored Contributor
Eric,

In the description you can use basic HTML to create what ever you want:

By default, the pop-up shows the visible fields in a key-value styled table. Alternatively, you can use this tag to present it in a different manner, for example, in a sentence or paragraph structure:

<description>
    <![CDATA[<b>Hurricane {NAME}</b> was a <i>category {CAT}</i> hurricane that occurred in {BASIN} on {TRACK_DATE}. It had a wind speed of {WIND_KTS} knots.]]>
</description>

The description supports field substitution using a {FIELD} style syntax. The description shown below the title and above any media and/or attachments. Basic Flash Player HTML is supported:
Anchor tag (<a>)
Bold tag (<b>)
Break tag (<br>)
Font tag (<font>)
Image tag (<img>)
Italic tag (<i>)
List item tag (<li>)
Paragraph tag (<p>)
Text format tag (<textformat>)
Underline tag (<u>)

Regards

Anthony
0 Kudos