How to avoid CTRL+click action

4 messages Options
Embed this post
Permalink
Nisha P

How to avoid CTRL+click action

Reply Threaded More More options
Print post
Permalink
Hi users..

How to avoid CTRL+click action for opening a url??

I am using mapguide open along with mapguide maestro















--
Nisha
[hidden email]



_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Kenneth Skovhede, GEOGRAF A/S

Re: How to avoid CTRL+click action

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
What excatly do you want to avoid?

1) Remove the ctrl+click text?
2) Remove/alter the ctrl+click tooltip text?
3) Provide another way to activate the link?

For (1), simply remove the URL property for the layer.
For (2), modify ajaxmappane.templ, search for ctrl+click or tooltip.
For (3), you have to modify the viewer js code.
Regards, Kenneth Skovhede, GEOGRAF A/S


NISHA P skrev:
Hi users..

How to avoid CTRL+click action for opening a url??

I am using mapguide open along with mapguide maestro















--
Nisha
[hidden email]



_______________________________________________ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Nisha P

Re: How to avoid CTRL+click action

Reply Threaded More More options
Print post
Permalink
Hi Kenneth


Actually I want to activate hyperlink by click/double click instead of CTRL+click..I did the same thing by editing the

ajaxmappane.templ file...But the tools in the toolbar (pan,zoom in,zoom out) are not working..

Is there any possibility to avoid CTRL  by not affecting the working of the tools?








On Thu, Oct 29, 2009 at 1:08 PM, Kenneth Skovhede, GEOGRAF A/S <[hidden email]> wrote:
What excatly do you want to avoid?

1) Remove the ctrl+click text?
2) Remove/alter the ctrl+click tooltip text?
3) Provide another way to activate the link?

For (1), simply remove the URL property for the layer.
For (2), modify ajaxmappane.templ, search for ctrl+click or tooltip.
For (3), you have to modify the viewer js code.
Regards, Kenneth Skovhede, GEOGRAF A/S


NISHA P skrev:
Hi users..

How to avoid CTRL+click action for opening a url??

I am using mapguide open along with mapguide maestro















--
Nisha
[hidden email]



_______________________________________________ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users




--
Nisha
[hidden email]



_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
JamesDudden

Re: How to avoid CTRL+click action

Reply Threaded More More options
Print post
Permalink

Nisha P wrote:
Is there any possibility to avoid CTRL  by not affecting the working of the
tools?
It sounds your code is worng. If your map or any of the map's tools aren't working then you must have made a mistake when editing ajaxmappane.templ - if I were you I would put the original ajaxmappane.templ back and get everything working again and then post your code and we can try and help you get it working.

Regards
JD
Software Matters - Bespoke Database and Software Solutions