Normas del foro

Curso Hacker
Bienvenido(a), Visitante. Favor de ingresar o registrarse.
¿Perdiste tu email de activación? - Noviembre 19, 2008, 05:12:26
Inicio Ayuda Ingresar Registrarse
Visita: Articulos - Juegos Gratis - Da Foros

Comunidad Underground Hispana  |  Programacion  |  Programacion para webmasters  |  Consultas Generales (Moderadores: [rOnNy], SaTeLuCo)  |  Tema: Sombras en imagen 0 Usuarios y 1 Visitante están viendo este tema. « anterior próximo »
Páginas: [1] Ir Abajo Imprimir
Autor Tema: Sombras en imagen  (Leído 544 veces)
root
Visitante


Email
« en: Enero 01, 2003, 10:28:27 »

Esto entre las etiquetas <head></head>
<style type="text/css">
#im {
FILTER: alpha(opacity=50)
}
</style>

<script language="JavaScript1.2">
function high(which2)
{
theobject=which2;
highlighting=setInterval("highlightit(theobject)",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>

<!-- SEGUNDO PASO: Colocar dentro del tag IMG -->

<img src="lafoto.jpg" id="im" onmouseover="high(this)" onmouseout="low(this)">


Este efecto se ve muy bien con los menus. espero que les funciones
En línea
Páginas: [1] Ir Arriba Imprimir 
Comunidad Underground Hispana  |  Programacion  |  Programacion para webmasters  |  Consultas Generales (Moderadores: [rOnNy], SaTeLuCo)  |  Tema: Sombras en imagen « anterior próximo »
Ir a:  


Ranking-Hits
Powered by SMF 1.1.7 | SMF © 2006-2007, Simple Machines LLC