[Cartoweb-users] Howto desactivate ToolTips in some action
Oliver Christen
oliver.christen at camptocamp.com
Tue Apr 29 08:04:49 EDT 2008
you can easily deactivate the tooltips by overriding the function
isToolTipsActive in ToolTips.ajax.js.
by default, it is intended to be used with a checkbox the user can manualy
check/uncheck, but you can easily use it automaticaly with some variable
that would be set to true/false by a call triggered by the user clicking on
the tool panels, for example.
to override cleanly a function in ToolTips.ajax.js, simply create a new .js
file and write inside:
AjaxPlugins.ToolTips.isToolTipsActive = function() {
..
}
and include that file AFTER the ToolTips.ajax.js in your Cartoclient.tpl
regards
Oliver
> Hi all,
>
> I'm asking if there's a way to simply desactivate ToolTips function when
> working with some tools.
>
> For example : if I select PdfRotate tools I wouldn't have tooltips
> overcharging the ui.
> Some people which are a bit slow are offently annoyed by the tooltips
> result.
>
> Could someone drive me to a quick and simple solution for this. As I'm
> pretty sure there's a way to launch certain
> javascript call but which one ?
>
> Thanks.
>
> --
>
> Bruno Friedmann bruno at ioda-net.ch
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
More information about the Cartoweb-users
mailing list