Ver Mensaje Individual
  #4 (permalink)  
Antiguo 01/08/2012, 09:21
Avatar de Dradi7
Dradi7
 
Fecha de Ingreso: junio-2008
Ubicación: Peru - Lima
Mensajes: 1.518
Antigüedad: 15 años, 10 meses
Puntos: 220
Respuesta: Que aparezcan elementos tras OnMouseover

Cita:
Iniciado por humanista Ver Mensaje
Gracias!!!, me ha quedado la mar de chulo ;) ;) ;)

Por si a alguien le sirve:


Código HTML:
Ver original
  1. function seleccionado()
  2. {
  3.     document.getElementById("id_htmlelement").style.display = "block";
  4. }
  5.  
  6. function deseleccionado()
  7. {
  8.     document.getElementById("id_htmlelement").style.display = "none";
  9. }
  10.  
  11.  
  12. <div style="height:100px; width:650px; background-color:#c3c3c3" Onmouseover="javascript:seleccionado()" Onmouseout="javascript:deseleccionado()">
  13.    <div id="id_htmlelement" name="id_htmlelement" style="display:none; height:50px; width:650px; background-color:#f5f5f5">
  14.         <a href="link.php">texto</a>
  15.    </div>
  16. </div>
Solo una aclaracion no le pongas como id_htmlelement ya que yo lo puse como ejemplo pero si tu quieres déjalo con ese ID
__________________
La clave de todo triunfador es eliminar todas sus excusas y sus limitaciones