[Chameleon] Hide/show MapDHTML

Andreas Douvalis anddreas2 at yahoo.gr
Fri Mar 12 03:29:38 EST 2010


 
Hi !
Is it possible to change Mapdhtml visible attribute ( from false to true for example)??
 
I tried the above functions but I still have the map in my page. 
 
<div id="MainMapLayer" name="MainMapLayer">
 
<!-- MapDHTML -->
<cwc2 type="MapDHTML" visible="true" width="1000" height="600" allowresize="true" marqueecolor="FF3333" marqueewidth="2" minscale="1" bordercolor="#0000ff" borderwidth="0"/>
<script language=javascript type='text/javascript'>
 
function hidemapDHTML()
{
     CWCDHTML_HideLayer("MainMapLayer");    
    
}
 
 
function showmapDHTML()
{
     CWCDHTML_ShowLayer("MainMapLayer");   
    
}
 </script>
</div>
<a href="javascript: hidemapDHTML();">hide div</a> 
<a href="javascript:showmapDHTML();">show div</a> 
 

__________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam);   Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων  
http://mail.yahoo.gr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20100312/9741b222/attachment.htm 


More information about the Chameleon mailing list