I have done a search for this on Google and I am having no luck.
I want to have a fade in/out facility that will work cross-browser.
The function below fades in for IE, and i set it up to just appear (no fade in) for FF.
How can i adapt it to fade in for FF and OP?
Code:
// Make the MiniRules gradually appear
function fadeIn(obj)
{
if (navigator.appName == "Microsoft Internet Explorer")
{
obj.style.filter="blendTrans(duration=0.5000)";
if (obj.filters.blendTrans.status != 0.5000)
{
obj.filters.blendTrans.apply();
obj.style.visibility="visible";
obj.filters.blendTrans.play();
}
}
else if (navigator.appName == "Netscape")
{
obj.style.visibility="visible";
}
}
Cheers.
Picco
www.crmpicco.co.uk