Ver Mensaje Individual
  #4 (permalink)  
Antiguo 02/05/2012, 10:27
chinanzio
 
Fecha de Ingreso: marzo-2007
Mensajes: 82
Antigüedad: 17 años, 2 meses
Puntos: 21
Respuesta: duda con practica en javascript

Algo asi te sirve ?

quiero decir, la idea, oviamente que le falta elaboración :P

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  4. <title>Insert title here</title>
  5.  
  6.     .contenido {
  7.         position: absolute;
  8.         top: 0;
  9.         left: 0;
  10.         bottom: 0;
  11.         right: 0;
  12.     }
  13.    
  14.     .barra-inferior {
  15.         display: none;
  16.         width: 100%;
  17.         position: absolute;
  18.         bottom: 0;
  19.         background-color: #AEEAA0;
  20.     }
  21.     function muestra() {
  22.         var barraInferior = document.getElementById("barra-inferior");
  23.         barraInferior.style.display = "inline-block";
  24.     }
  25.  
  26.     function oculta() {
  27.         var barraInferior = document.getElementById("barra-inferior");
  28.         barraInferior.style.display = "none";
  29.     }
  30. </head>
  31.     <div class="contenido">
  32.         <a href="http://www.google.es" onmouseover="muestra();" onmouseout="oculta();">enlace 1</a>
  33.     </div>
  34.     <div id="barra-inferior" class="barra-inferior">
  35.         Explicación del enlace
  36.     </div>
  37. </body>
  38. </html>
__________________
Hazle un favor a tu cerebro y juega Ajedrez online
Chess online