[mapguide-users] RE: Hyperlink in tool tip

elliott17 elliottd at ae.ca
Mon Apr 16 11:20:56 EDT 2012


Jonathon,

Within our tables, the URL column has a path to an image or the cell is empty.  The Data type is set to character.  The tooltip shows 3 or 4 attributes and then the URL column.  The tool tip will always show something but the hyperlink URL can be blank.

Can you provide a bit more detail on what you have done in the past. Thanks.

function HideHyperlinkTip()
{
    tip = document.getElementById("hlTip");
    if(tip != null)
    {
        if (IsMouseInsideHyperlink())
        {
            return;
        }
        tip.style.visibility = "hidden";
    }
}

From: Jonathon McIntyre-2 [via OSGeo.org] [mailto:ml-node+s1560n4839066h29 at n6.nabble.com]
Sent: Wednesday, April 11, 2012 6:08 PM
To: Darwin Elliott
Subject: Re: Hyperlink in tool tip

Hi Darwin,
I believe you will need to edit the 'ajaxmappane.templ' file.

In there are some functions:
1. DisplayHyperlinkTip(x,y)
2. HideHyperlinkTip()

I believe you'll need to deal with the Null case for the document.getElementById call.

I have done that in the past with success.

Regards,
Jonathon

On Wed, Apr 11, 2012 at 2:49 PM, elliott17 <[hidden email]</user/SendEmail.jtp?type=node&node=4839066&i=0>> wrote:
MGOS 2.2 Windows Server 2007 Ajax site

I have hyperlinks on my tool tips that open various files (pdf's or image
files).  Some of the objects do not have a file associated with them.  Is
there a way of having the tool tip "CTRL + click to open link ()" to not
show up if there is no attachment to open?

Thanks.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Hyperlink-in-tool-tip-tp4837209p4837209.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=4839066&i=1>
http://lists.osgeo.org/mailman/listinfo/mapguide-users


_______________________________________________
mapguide-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=4839066&i=2>
http://lists.osgeo.org/mailman/listinfo/mapguide-users

________________________________
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.n6.nabble.com/Hyperlink-in-tool-tip-tp4837209p4839066.html
To unsubscribe from Hyperlink in tool tip, click here<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4837209&code=ZWxsaW90dGRAYWUuY2F8NDgzNzIwOXwzNjEwMTM3NTU=>.
NAML<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Hyperlink-in-tool-tip-tp4837209p4886969.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20120416/6db90a00/attachment.html


More information about the mapguide-users mailing list