|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
Random font color change WHO saw the sea brother in the wings to break a problem, the use of a mouse : the effect suspension, automatic text changes color, but the color change is random, how do? Can be achieved is not automatically transform color print in a fixed period of time, suspension without mouse? ?
E sea heroes in the wings? Guiqiu answer. Thank you! ! ! |
"SPAN><TEXTAREA rows=12 cols=95>
"/TEXTAREA><BR><INPUT Onclick=runCode () operation code type=button value="
[Ctrl+A Suggested : You can choose all part of a revision of codes and then running ]</SPAN> |
The following is the text of this change automatically, you said that the mouse is only trigger change in the wording.
[html]
"Center>
"This is a text automatically change href=#>" </a>
"Script language=" JavaScript ""
"Goes To Begin
InitArray function () (
For (var i = 0 i "initArray.arguments.length; i++) (
This[i] = initArray.arguments[i];
}
This.length = initArray.arguments.length;
}
Var colors = new initArray (
"#ffffff", "#0000FF", "#80FFFF", "#80FF80", "#FFFF00", "#FF8000", "#FF00FF", "#33FFFF"
);
Delay = 400
Link = 0
Vlink = 0
LinkDance function () (
Link = (link+1) %colors.length;
Vlink = (vlink+1) %colors.length;
Document.linkColor = colors[link];
Document.vlinkColor = colors[vlink];
SetTimeout ( "linkDance ()", delay);
}
LinkDance ();
End -->// finished 4003rd
"/script>
[/html] |
Thank you idol help, but there is another issue which is added to the above JS my website, the website has links to all of what I look like, I just want to link certain kind of effect ah, how to solve?
I still want to achieve when the mouse suspension, into a fixed font color (for example, red), I
Vlink = (vlink+1) %colors.length; added hover below = "#ff0000"; However ineffective, how to solve ah, hoping to again rescue my idol, huh, huh. . . |
Top up, huh, huh. . |
|