Mouse put on the hyperlink text one by one color effect
Updated: August 04, 2007 14:51:45 Author:
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>
Call method in css file
A {
FILTER: progid:dximagetransform.microsoft.gradientwipe(duration=1); BEHAVIOR: url(jcss/link.htc); HEIGHT: 1px; TEXT-DECORATION: none
}
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
-
Uninterrupted scrolling effect htc
Uninterrupted scrolling effect htc...2006-08-08 -
Implement verification module with htc
Implement validation module with htc...2007-01-01 -
Implement CHECKBOX controls with htc
Implement CHECKBOX control with htc...2007-01-01 -
Mouse put on the hyperlink text one by one color effect
Mouse put on hyperlink text one by one add color effect...2007-08-08 -
Lock the table component for row and column headers
Table components that lock row and column headers...2007-01-01 -
Implement the progress bar control with htc
Implement the progress bar control with htc...2007-01-01 -
* A brief introduction to the.HTC file
This article mainly introduces a brief introduction to the *.HTC file2006-09-09
Latest comments