图片透明控件使用例子 
<img src="http://www.csdn.net/images/homeimage/csdn.gif" style="filter:alpha(opacity=20);behavior:url(fade.htc);">
fade.htc文件<PUBLIC:COMPONENT URN="urn:msdn-microsoft-com:workshop" >
<PUBLIC:attach event="ondocumentready" onevent="init()"/>
<PUBLIC:attach event="onmouseover" onevent="fade_on()"/>
<PUBLIC:attach event="onmouseout" onevent="fade_off()"/>
<PUBLIC:method name="fade" />
<script>
//////////////////////////////
//author by fason(2003-5-10)//
//////////////////////////////
var timer;
var initOffset;
var onOffset=5
var offOffset=10;//移上,移走时opacity的偏移量
function init(){
initOffset=element.filters.alpha.opacity
}
function fade_on(){
clearInterval(timer)
timer=window.setInterval("document.all['"+element.uniqueID+"'].fade(0)",10)
}
function fade_off(){
clearInterval(timer)
timer=window.setInterval("document.all['"+element.uniqueID+"'].fade(1)",10)
}
function fade(n){
opacty=element.filters.alpha.opacity
if(n)
if(opacty>initOffset)element.filters.alpha.opacity-=offOffset
else clearInterval(timer)
else
if(opacty<100)element.filters.alpha.opacity+=offOffset
else clearInterval(timer)
}
</script>
</PUBLIC:COMPONENT>