i know that this is kind of a java question..but i have a CSS and i cant get my image fade to work.....the only way that i can get it to fade is to put the CSS in there...but i dont know what to put im my CSS and if i take it out then my image will not fade...someone please help!!!
here is my code
PHP Code:<head>
<style type="text/css">
#im {
FILTER: alpha(opacity=60)
}
</style>
<script language="JavaScript1.2">
function high(which2)
{
theobject=which2;
highlighting=setInterval("highlightit(theobject)",60);
}
function low(which2)
{
clearInterval(highlighting);
which2.filters.alpha.opacity=60;
}
function highlightit(cur2)
{
if(cur2.filters.alpha.opacity<250)
cur2.filters.alpha.opacity+=9
else if(window.highlighting)
clearInterval(highlighting)
}
</script>
</head>
<body>
<a href="mypics.html"><img id="im" onmouseover="high(this)" onmouseout="low(this)" style="border: 2px solid #000080;" src="katie.jpg" width="140" height="108""></a>
</body>


Reply With Quote
Bookmarks