<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV><BR> </DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face="Times New Roman">I found "DIV ID" of map layer in MapDHTML.js. function MapWCreateDHTMLLayers() is responsible for the Map layer (in jsapi mode).<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3 face="Times New Roman"> </FONT></o:p></SPAN></DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face="Times New Roman">MapLayerDiv is the ID of DIV of map layer.<o:p></o:p></FONT></FONT></SPAN></DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><o:p><FONT size=3 face="Times New Roman"> </FONT></o:p></SPAN></DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-US" lang=EN-US><FONT size=3><FONT face="Times New Roman">I try to make one javascript action to control visibility between Map layer DIV and one OpenLayer api DIV. <o:p></o:p></FONT></FONT></SPAN></DIV>
<DIV><BR> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>--- Στις <B>Παρ., 12/03/10, ο/η Julien-Samuel Lacroix <I><jlacroix@mapgears.com></I></B> έγραψε:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>Από: Julien-Samuel Lacroix <jlacroix@mapgears.com><BR>Θέμα: Re: [Chameleon] Hide/show MapDHTML<BR>Προς: "Andreas Douvalis" <anddreas2@yahoo.gr><BR>Κοιν.: chameleon@lists.maptools.org<BR>Ημερομηνία: Παρασκευή, 12 Μάρτιος 2010, 16:59<BR><BR>
<DIV class=plainMail>Hi,<BR><BR>It would probably be easier and more practical to put your MapDHTML div inside another div of which you would control the visibility.<BR><BR>Best regards,<BR>Julien<BR><BR>Andreas Douvalis wrote:<BR>> Hi !<BR>> <BR>> Is it possible to change Mapdhtml visible attribute ( from false to true for example)??<BR>> <BR>> <BR>> I tried the above functions but I still have the map in my page.<BR>> <BR>> <BR>> <div id="MainMapLayer" name="MainMapLayer"><BR>> <BR>> <BR>> <!-- MapDHTML --><BR>> <BR>> <cwc2 type="MapDHTML" visible="true" width="1000" height="600" allowresize="true" marqueecolor="FF3333" marqueewidth="2" minscale="1" bordercolor="#0000ff" borderwidth="0"/><BR>> <BR>> <script language=javascript type='text/javascript'><BR>> <BR>> <BR>> function hidemapDHTML()<BR>> <BR>> {<BR>> <BR>>
CWCDHTML_HideLayer("MainMapLayer"); <BR>> <BR>> }<BR>> <BR>> <BR>> <BR>> function showmapDHTML()<BR>> <BR>> {<BR>> <BR>> CWCDHTML_ShowLayer("MainMapLayer"); <BR>> <BR>> }<BR>> <BR>> </script><BR>> <BR>> </div><BR>> <BR>> <a href="javascript: hidemapDHTML();">hide div</a><BR>> <BR>> <a href="javascript:showmapDHTML();">show div</a><BR>> <BR>> <BR>> <BR>> __________________________________________________<BR>> Χρησιμοποιείτε Yahoo!;<BR>> Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων<BR>> <A href="http://mail.yahoo.gr/"
target=_blank>http://mail.yahoo.gr</A><BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> <BR>> _______________________________________________<BR>> Chameleon mailing list<BR>> <A href="http://gr.mc237.mail.yahoo.com/mc/compose?to=Chameleon@lists.maptools.org" ymailto="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>> <A href="http://lists.maptools.org/mailman/listinfo/chameleon" target=_blank>http://lists.maptools.org/mailman/listinfo/chameleon</A><BR><BR>-- Julien-Samuel Lacroix<BR>Mapgears<BR><A href="http://www.mapgears.com/" target=_blank>http://www.mapgears.com/</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>__________________________________________________<br>Χρησιμοποιείτε Yahoo!;<br>Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή
προστασία κατά των ενοχλητικών μηνυμάτων <br>http://mail.yahoo.gr