Salve a tutti!
ho trovato questo script per gestire un effeto fade al passaggio del mouse su un'immagine :
codice:
<script language="JavaScript1.2">
function high(which2)
{
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2)
{
clearInterval(highlighting)
which2.filters.alpha.opacity=20 }
function highlightit(cur2)
{ if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}
</script>
l'immagine avrà pertanto questa dicitura
codice:
[img]flash.jpg[/img]
Mi sapete dire come fare per avere un fade anche sull'onmouseout?
grazie!