我是靠谱客的博主 洁净纸飞机,这篇文章主要介绍鼠标放上去超链接的文字逐个加色效果,现在分享给大家,希望可以做个参考。

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
}

最后

以上就是洁净纸飞机最近收集整理的关于鼠标放上去超链接的文字逐个加色效果的全部内容,更多相关鼠标放上去超链接内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(262)

评论列表共有 0 条评论

立即
投稿
返回
顶部