Ver Mensaje Individual
  #10 (permalink)  
Antiguo 10/03/2005, 18:05
furoya
(Desactivado)
 
Fecha de Ingreso: noviembre-2002
Ubicación: Ciudad Autónoma de Buenos Aires
Mensajes: 2.367
Antigüedad: 21 años, 5 meses
Puntos: 317
Hola de nuevo :

Ah!, bueno. Si es un foro PHP creo que lo mejor es usar PHP como dice juque.

Lo que tiene que escribir el PHP es el CSS que no me salía. Pero ahora sí

Código:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />

<title>ACORTA LOS NOMBRES DE ENLACE.</title>
<style type="text/css">
#menu1 a span {display:none;}

#menu1 a:hover {color:red}

#menu1 a:hover span {display:inline}


#menu2 a span {display:none;}

#menu2 a:hover {color:red}

#menu2 a:active span {display:inline}

</style>

</head>
<body>
<h2>Con CSS.</h2>
Enlace autoexpandible con hover
<div id="menu1">
<a href="javascript:void(0)">Enlace
<span>muy, muy, muy, pero MUY, MUY, MUY </span>largo.</a><br />
<a href="javascript:void(0)">A B C D E 
<span>F G H I J K  </span>L M N &Ntilde; O .</a><br />
</div>

<br /><br />

Enlace autoexpandible con active
<div id="menu2">
<a href="javascript:void(0)">Enlace
<span>muy, muy, muy, pero MUY, MUY, MUY </span>largo.</a><br />
<a href="javascript:void(0)">A B C D E 
<span>F G H I J K  </span>L M N &Ntilde; O .</a><br />
</div>

</body></html>
saludos

furoya

¿innerText solo funciona en IE?

Última edición por furoya; 06/11/2005 a las 08:04