[mapguide-users] Ctrl-click - url activated for feature Question?

jamesdudden jamesdudden at blueyonder.co.uk
Mon Jul 7 07:32:46 EDT 2008


hi gimbrogno,

thank you for your help.

I have managed to achieve what i wanted now.  Just to let you or anybody
else attempting this know, the code you said to change, works for the
'tooltip diaplay for feature' bit.  But if you want to change the 'url
activated for feature' you need to change the following code:

if(hlData.url != "")
        urlinfo = " " + openHlinkText + " (" + hlData.url + ") ";

I changed to:

    if(hlData.url != "")
        urlinfo = "Ctrl-click to view data"; 

The url still opens and you don't have to see the link.

Thanks again for your help



gimbrogno wrote:
> 
> There is a function called DisplayHyperlinkTip(x,y), in a block code
> if(hlData.ttip != "")
> {
>    ...
>    you have to replace the variable ttinfo = " " + hlData.ttip +
> " "; with a new without the hlData.ttip
> 
> }
> 
> This solution sould work...
> 
> 
> 
> jamesdudden wrote:
>> 
>> Thank you for your reply gimbrogno,
>> 
>> I am still quite new to coding so please bare with me.
>> 
>> I have found some associations to the url (h1.data i think) but am not
>> quite sure what and where to edit.
>> 
>> Could you please point me in the right direction
>> 
>> Many thanks
>> 
>> Regards
>> 
>> James
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Ctrl-click---url-activated-for-feature-Question--tp18313260p18314718.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list