Hi all.....this is a very simple tutorial,this will show you how a picture fades back into its own colour from an opacity of 30%...... First Step:- Create a New HTML document and add this script using notepad or wordpad:-
CODE
<script language=JavaScript1.2> <!-- function high(which2){ theobject=which2 highlighting=setInterval("highlightit(theobject)",70) } function low(which2){ clearInterval(highlighting) which2.filters.alpha.opacity=30 }
function highlightit(cur2){ if (cur2.filters.alpha.opacity<100) cur2.filters.alpha.opacity+=10 else if (window.highlighting) clearInterval(highlighting) } --> </SCRIPT>
And then add the following code below the script above....:-