[Cartoweb-users] How does ToolbarRendering = swap work?

Oliver Christen oliver.christen at camptocamp.com
Thu Jan 11 08:01:28 EST 2007


Hi Dirk

if you use .png, you will need to do a little modification in the carto.js 
file, line 18-22

Regards
Oliver


> Hi Oliver,
>
> seems that my PNG-icons cause the problem. I changed the toolbar.tpl, so 
> it uses PNG images instead of GIF. Apparently this only affects the 
> "normal" icons, but not the "_over" versions. After I changed everything 
> to GIF it works. What has to be done to make Cartoweb use 
> "<toolname>_over.png" instead of "<toolname>_over.gif"? Is this possible?
>
> Thanks,
> Dirk
>
>
>
> Oliver Christen wrote:
>
>> Hi Dirk
>>
>> you need to have the tools icons as *toolname*.gif and the swaped version 
>> as *toolname*_over.gif at the same place.
>>
>> what do you mean by "adopt the template " ?
>>
>>
>> Oliver
>>
>>
>>
>>> Hi,
>>>
>>> I tried to use "toolbarRendering = swap", but can not get it to work. 
>>> The documentation does not say much about it. It just mentions that the 
>>> alternative icon should be named "over". But how exactly? Further, do I 
>>> have to adopt the template to use the swap mode?
>>>
>>> I would appreciate, if someone could give me a hint.
>>>
>>>
>>> Thanks,
>>> Dirk
>>> _______________________________________________
>>> 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