<script language=javascript> nereidfadeobjects = new Object (); Nereidfadetimers = new Object (); function Nereidfade (object, destop, rate, Delta) {if (!document.all) return if (Object!= ' [Object] ') {//do this S o I can take a string too settimeout ("Nereidfade" ("+object+", "+destop+", "+rate+", "+delta+") ", 0); Return } cleartimeout (Nereidfadetimers[object.sourceindex]); diff = destop-object.filters.alpha.opacity; Direction = 1; if (Object.filters.alpha.opacity > Destop) {direction =-1; } delta=math.min (Direction*diff,delta); Object.filters.alpha.opacity+=direction*delta; if (object.filters.alpha.opacity!= destop) {nereidfadeobjects[object.sourceindex]=object; Nereidfadetimers[object.sourceindex]=settimeout ("Nereidfade" (nereidfadeobjects["+object.sourceIndex+"), "+destOp + "," +rate+ "," +delta+ ")", rate); }} </SCRIPT> <body> <table cellspacing=1 cellpadding=0 Border=0> <TBODY> <tr align=middle> <td width=128 background=http://www.jb51.net/logos.gif ></TD > </TR></TBODY></TABLE> </body>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]