keyoke
01-06-2004, 12:37 PM
Hi,
i use a fade effect on a image....this works fine for Internet explorer but not on mozilla..here is part of the code does any1 have any ideas?
<script type = "text/javascript">
<!--
function blendIn()
{
if (image.filters("blendtrans").status != 2)
{
image.filters("blendtrans").apply();
image.style.visibility = "visible";
image.filters("blendtrans").play();
}
}
// -->
</script>
<style type="text/css">
#page {text-align: center;}
#image {visibility: hidden;
filter: blendtrans( duration = 4);}
#link {color: white;
font-family: chiller,arial;
font-size: 1.5em;}
#link a { text-decoration: none;
color: white}
#link a:hover { color: orange}
</style>
</head>
<body bgcolor="black" onload="blendIn()">
<div id="page">
<div>
<img src="pictures/intro.jpg" id="image"></img>
</div>
thanks
i use a fade effect on a image....this works fine for Internet explorer but not on mozilla..here is part of the code does any1 have any ideas?
<script type = "text/javascript">
<!--
function blendIn()
{
if (image.filters("blendtrans").status != 2)
{
image.filters("blendtrans").apply();
image.style.visibility = "visible";
image.filters("blendtrans").play();
}
}
// -->
</script>
<style type="text/css">
#page {text-align: center;}
#image {visibility: hidden;
filter: blendtrans( duration = 4);}
#link {color: white;
font-family: chiller,arial;
font-size: 1.5em;}
#link a { text-decoration: none;
color: white}
#link a:hover { color: orange}
</style>
</head>
<body bgcolor="black" onload="blendIn()">
<div id="page">
<div>
<img src="pictures/intro.jpg" id="image"></img>
</div>
thanks