|
www.insideDHTML.com
Inside Dynamic HTML | Fun and Games | The 10K Demo | XML Online | CSS Online | Resources Write Once! | DHTML Toolkits | Inside Techniques | Inside Scriptlets |
|
fadeo() Function The fadeo() function makes an element appear to fade into view. To use this function, you must define a HTML DIV, SPAN, TABLE, TD, TH, or IMG element with an unique HTML ID and CSS filter, and visibility attribute.
For the DIV and SPAN element a width is also required. For example, the following defines a DIV that we will fade into view.
The When you call the fadeo(i) function, i is the element to fade into view. While the element is coming into view,
any subsequent calls to fadeo() are ignored. The following function call brings the DIV defined above into view:
Inside Dynamic HTMLIn non-IE4 browsers, the string is displayed and does not fade into view fadeo() Function
function fadeo(x) {
if (x.filters.blendTrans.status==0) {
x.filters.blendTrans.Apply();
x.style.visibility = "visible";
x.filters.blendTrans.Play();
}
}
Copyright © 1997-98 InsideDHTML.com, LLC. |