<div id="RTEContent">My code is:<br> <br> ************html code************<br> <a href="javascript://" onclick="showhide('mapaguia');">click me</a><br> <br> <div id="mapaguia" name="mapaguia"><br> <cwc2 type="KeyMapDHTML" VISIBLE="TRUE" /><br> </div><br> <br> <br> *********css code**************<br> #mapaguia {<br> padding:0px;<br> margin:0px;<br> position:absolute;<br> left:39px;<br> top:119px;<br> visibility:hidden;<br> border: 0px none #000000;<br> }<br> <br> ***********javascript**********<br> <script language="javascript"><br> <br> var state = 'hidden';<br> <br> function showhide(layer_ref) {<br> <br> if (state == 'visible') {<br> state = 'hidden';<br> }<br> else {<br> state = 'visible';<br> }<br> if (document.all) { //IS IE 4 or 5 (or 6 beta)<br> eval( "document.all." + layer_ref + ".style.visibility = state");<br> }<br> if (document.layers) { //IS NETSCAPE 4
or below<br> document.layers[layer_ref].visibility = state;<br> }<br> if (document.getElementById && !document.all) {<br> maxwell_smart = document.getElementById(layer_ref);<br> maxwell_smart.style.visibility = state;<br> }<br> }<br> </script><br> <br> <br><br><b><i>chameleon-request@lists.maptools.org</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Send Chameleon mailing list submissions to<br> chameleon@lists.maptools.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> http://lists.maptools.org/mailman/listinfo/chameleon<br>or, via email, send a message with subject or body 'help' to<br> chameleon-request@lists.maptools.org<br><br>You can reach the person managing the list at<br> chameleon-owner@lists.maptools.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Chameleon digest..."<br><br><br>Today's Topics:<br><br>
1. Show/Hide KeyMapDHTML (joanvp)<br> 2. Re: Show/Hide KeyMapDHTML (Jason Fournier)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 16 Nov 2005 08:33:35 -0800 (PST)<br>From: joanvp <joanvp @yahoo.com=""><br>Subject: [Chameleon] Show/Hide KeyMapDHTML<br>To: chameleon@lists.maptools.org<br>Message-ID: <20051116163335.14228.qmail@web50101.mail.yahoo.com><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi list,<br> <br> I'm trying to run a javascript function for show and hide KeyMapDHTML with a button. My keymap is positioned throw div tags and css.The function works fine with the div, but keymap is allways on top. Why? how can I hide it without submit the whole page?<br> <br> Thanks a lot in advanced<br> <br><br> <br>---------------------------------<br> Yahoo! FareChase - Search multiple travel sites in one click. <br>-------------- next part --------------<br>An HTML attachment was
scrubbed...<br>URL: http://lists.maptools.org/pipermail/chameleon/attachments/20051116/33266870/attachment-0001.html<br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 16 Nov 2005 11:50:38 -0500<br>From: Jason Fournier <jfournier @dmsolutions.ca=""><br>Subject: Re: [Chameleon] Show/Hide KeyMapDHTML<br>To: chameleon@lists.maptools.org<br>Message-ID: <437B635E.1010509@dmsolutions.ca><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Joan,<br><br>Can you give us your CSS and the snippet of HTML that contains the <br>KeyMapDHTML tag?<br><br>Thanks,<br>Jason<br><br><br><br>joanvp wrote:<br>> Hi list,<br>> <br>> I'm trying to run a javascript function for show and hide KeyMapDHTML <br>> with a button. My keymap is positioned throw div tags and css.The <br>> function works fine with the div, but keymap is allways on top. Why? how <br>> can I hide it without submit the whole page?<br>> <br>> Thanks a lot in
advanced<br>> <br>> ------------------------------------------------------------------------<br>> Yahoo! FareChase - Search multiple travel sites in one click. <br>> <http: //us.lrd.yahoo.com/_ylc="X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/"> <br>> <br>> <br>> <br>> ------------------------------------------------------------------------<br>> <br>> _______________________________________________<br>> Chameleon mailing list<br>> Chameleon@lists.maptools.org<br>> http://lists.maptools.org/mailman/listinfo/chameleon<br><br>-- <br>________________________<br>Jason Fournier<br><br>DM Solutions Group Inc.<br>jfournier@dmsolutions.ca<br>www.dmsolutions.ca<br>613.565.5056 x18<br><br><br>------------------------------<br><br>_______________________________________________<br>Chameleon mailing
list<br>Chameleon@lists.maptools.org<br>http://lists.maptools.org/mailman/listinfo/chameleon<br><br><br>End of Chameleon Digest, Vol 20, Issue 14<br>*****************************************<br></http:></jfournier></joanvp></blockquote><br></div><p>
                <hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</a>