Insert the following JavaScript code between
<textarea id="runcode22004"><script> nereidfadeobjects = new Object (); Nereidfadetimers = new Object (); function Nereidfade (object, destop, rate, Delta) {if (!document.all) return if (Object!= "[Object]") {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> Add the following code to the picture you want to insert:</textarea>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
* Where Onmouseover=nereidfade (this,50,10,4) style= "Filter:alpha (opacity=50)" indicates a picture with a transparency of 50%