
06/05/2002, 01:19
|
 | Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 2 meses Puntos: 61 | |
Re: link con texto fade-in y fade-out... Ese script lo tienes en el Depósito de Javascript o en el Script master. El código es el siguiente (para imágenes):
<html>
<head>
<!-- Copiar dentro del tag HEAD -->
<style type="text/css">
#im {
FILTER: alpha(opacity=50)
}
</style>
<script language="JavaScript1.2">
function high(which2)
{
theobject=which2;
highlighting=setInterval("highlightit(theobje ct)",50);
}
function low(which2)
{
clearInterval(highlighting);
which2.filters.alpha.opacity=50;
}
function highlightit(cur2)
{
if(cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if(window.highlighting)
clearInterval(highlighting)
}
</script>
</head>
<body>
<!-- Copiar dentro del tag BODY -->
<!-- Colocar dentro del tag IMG -->
<img id="im" onmouseover="high(this)" onmouseout="low(this)">
</body>
</html>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="190" height="51"><param name="bgcolor" value="#0066CC"><param name="movie" value="http://www.webareyou.com/Movie1.swf"><embed src="http://www.webareyou.com/Movie1.swf"></embebed></object> |