[mapguide-users] Re: without click CTRL

Nickthetemp nickthetemp at gmail.com
Thu Sep 9 08:02:05 EDT 2010


If you want to activate a url with a single or double click in the basic
viewer do the following:

In the ajaxmappane.templ file - (approx line 750)
                                    add this to the function OnDblClick(e)
for a double click open

                                    if(hlData.url != ""){
                                         ExecuteHyperlink(hlData.url);
                                    }
                    

                                     add the same thing to the OnClick(e)
function for single click open.


You will also want to change the text around line 3469:
  
                                       "Double click - or Ctrl-click to open
link";  <----- added Double click to url tooltip.



I stuck with double click because single click was opening urls sometimes
when panning.

Hope this helps

                              
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/without-click-CTRL-tp5481240p5514166.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list