Mouse put on hyperlink text one by one color effect _htc_ script home

Mouse put on the hyperlink text one by one color effect

Updated: August 04, 2007 14:51:45 Author:
link.htc
Copy codeThe code is as follows:

<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>

Call method in css file
Copy codeThe code is as follows:

A {
    FILTER: progid:dximagetransform.microsoft.gradientwipe(duration=1); BEHAVIOR: url(jcss/link.htc); HEIGHT: 1px; TEXT-DECORATION: none
}

Related article

Latest comments