[Chameleon] remove focus from navigation tools...

Julien-Samuel Lacroix jlacroix at mapgears.com
Mon Dec 8 10:42:51 EST 2008


Hi,

You can reset the NAV_CMD hidden variable to unset the nav button.

document.forms[0].NAV_CMD.value = '';

Julien

Berényi Attila wrote:
> Hi,
> 
> I'm trying to include my legendtemplate as a hidden div what appears 
> only if i click on the appropriate button.
> It works nicely but if I have any navigation tool (e.g. zoomin, zoomout, 
> etc...) active it catches the cursor position and zooms in/out if i 
> click into the layer's checkbox to turn it off or on....and it's very 
> annoying.
> 
> Is it any possibility to remove focus from zoomin, etc...if I click on a 
> designated button?
> 
> Thanks in advance,
> 
> Attila
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list