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: <[EMAIL PROTECTED]>
To: <cartoweb-users@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@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users