Need to build smooth and attractive fading techniques into your web site using nothing more than script? This article will explain a proven cross-browser method, with ready-to-use code. If you think you donít need this, you will conclude otherwise after reading the article!
If youíve perused the recently re-launched Macromedia website, youíve witnessed their smooth and sexy navigation component built in Flash. If you havenít seen it yet, basically Iím talking about an extruded bar containing top level navigational items. As you move your mouse over each item, an array of sub-choices fades discreetly into view. If you change your mind, and in turn the co-ordinates of the mouse pointer, the sub-choices fade away.
Basically, we want to accomplish the same wonderful effects that Flash has, but with DHTML only. To do this, weíre going to work with the opacity of these items. Both IE and Mozilla allow us to do this, albeit with separate methods.
Letís work with the typical navigational structure of a service providerís website. (Note: you could definitely use this on your personal web page, where youíre showing off photos of your family and pet tuatara)
About the Company
Anyhow, the choices are obviously up to you, but letís get to work with these.