Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/07/2002, 16:29
Avatar de CORE
CORE
Usuario no validado
 
Fecha de Ingreso: abril-2002
Ubicación: Merida
Mensajes: 2.165
Antigüedad: 22 años, 1 mes
Puntos: 3
Re: Botones (como los de esta página por ejemplo)

es java script y css
Código:
  <script language = "javascript">
<!--

function LmOver(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = "#FFFFFF";
elem.style.cursor = 'hand'}

function LmOut(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = "#808080";}

function LmDown(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = "#FFFFFF";}

function LmUp(path)
{location.href = path;}

//-->
</script>

<table border="0" width="120" bgcolor="#000000" cellspacing="0" cellpadding="0">
<tr><td width="100%">

<table border="0" width="100%" cellspacing="1" cellpadding="1">
<tr><td width="100%" onMouseover="LmOver(this, '#9999FF')" onMouseout="LmOut(this, '#FFFFFF')" onMouseDown="LmDown(this, '#9999FF')" 
onMouseUp="LmUp('link1')" bgcolor="#FFFFFF"><A HREF="link1" Class="navlink">  menu1</a></td></tr>
<tr><td width="100%" onMouseover="LmOver(this, '#9999FF')" onMouseout="LmOut(this, '#FFFFFF')" onMouseDown="LmDown(this, '#9999FF')" 
onMouseUp="LmUp('link2')" bgcolor="#FFFFFF"><A HREF="link2" Class="navlink">  menu2</a></td></tr>
</table>

</td></tr>
</table>
ese es el javascrip de las tablas el de el texto no lo tengo a la mano