[Cartoweb-users] switch the map off
Oliver Christen
oliver.christen at camptocamp.com
Mon Mar 17 10:09:27 EDT 2008
why dont you simply do that with javascript to set the "display" of the map
(or mapBorder) element to "none" to hide it and to "block" when you want to
show it ?
$('map').style.display = 'none';
$('map').style.display = 'block';
regards
Oliver
----- Original Message -----
From: <giuseppe.derossi at email.it>
To: <cartoweb-users at lists.maptools.org>
Sent: Monday, March 17, 2008 12:27 PM
Subject: [Cartoweb-users] switch the map off
>
> Hi,
> I'd like to add a button in order to switch the map on and off from a
> plugin
> which displays a compex and long table.
> The first solution I'm testing consist on creating a variable at smarty
> level into the template to display or bypass the map. Is there another way
> ?
>
> thanks
>
> Giu
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Scopri le tue passioni con Leonardo.it!
>
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7653&d=20080317
>
>
> _______________________________________________
> 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