简要咨询咨询QQ网站导航网站搜索手机站点联系我们设为首页加入收藏 

鼠标放上去超链接的文字逐个加色效果

来源:易贤网   阅读:905 次  日期:2014-09-25 09:32:26

温馨提示:易贤网小编为您整理了“鼠标放上去超链接的文字逐个加色效果”,方便广大网友查阅!

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

}

更多信息请查看IT技术专栏

更多信息请查看脚本栏目
点此处就本文及相关问题在本站进行非正式的简要咨询(便捷快速)】     【点此处查询各地各类考试咨询QQ号码及交流群
上一篇:使用 Iisftpdr.vbs 列出FTP虚拟目录(支持远程与本地)
下一篇:HTML Component(HTC) 小应用
易贤网手机网站地址:鼠标放上去超链接的文字逐个加色效果
由于各方面情况的不断调整与变化,易贤网提供的所有考试信息和咨询回复仅供参考,敬请考生以权威部门公布的正式信息和咨询为准!