Código HTML:
<script LANGUAGE="javascript"> var capa function cambio(idCapa){ if (document.layers) capa = eval("document." + idCapa); if (document.all) capa = eval(idCapa + ".style"); if (document.getElementById) capa = eval('document.getElementById("' + idCapa + '").style'); if ((capa.visibility == "hidden") || (capa.visibility == "hide")){ capa.visibility = (document.layers) ? "show" : "visible" ; }else{ capa.visibility = (document.layers) ? "hide" : "hidden" ; } } //--> </script>
Código HTML:
<a href="#" onclick="cambio('capa1')"><img src="images/boton_servicio.jpg" width="122" height="34" border="0"></a> <div id="capa1" style='position:relative;'> <a href="servicios1.html" target="principal" class="Estilo3" >EMISION</a> <a href="servicios2.html" target="principal" class="Estilo3" >RECEPCION</a> <a href="servicios3.html" target="principal" class="Estilo3" >TASKFORCE</a> <a href="servicios4.html" target="principal" class="Estilo3" >MARKETING</a> </div>
Gracias.