link.htc
代码如下:
<public:component>
<public:attach event=onmouseover onevent=domouseover()>
<public:attach event=onmouseout onevent=domouseout()>
<script language=javascript>
function domouseover(){
with(element)
{filters.item(0).apply();filters.item(0).play();}}
function domouseout(){
with(element){
filters.item(0).apply();
filters.item(0).play();}}
</script>
</public:component>
css文件中的调用方法
代码如下:
a {
filter: progid:dximagetransform.microsoft.gradientwipe(duration=1); behavior: url(/jcss/link.htc); height: 1px; text-decoration: none
}
2025国考·省考课程试听报名