Script Description: <script language = JavaScript> <! -- // This is a JS program for sword Jin's joyfm homepage. all rights reserved. vaR Cx = 0; var Cy = 0; var val = 0; function locate () {cx = Window. event. x; Cy = Window. event. y;} document. onmousemove = locate; function follow (I) {var X; if (I <4) x = cx-50 + I * 10; else x = cx-25 + I * 10; var y = cy-20 + math. floor (math. random () * 40); W = eval ("word" + I); with (W. style) {left = x. tostring () + "PX"; Top = y. tostring () + "PX" ;}} function show (I) {var W = eval ("word" + I); with (W. style) {visibility = "visible"; S = parseint (fontsize); If (S> = 200) S-= 100; else if (S> 90 & S <= 100) {S-= 85; clearinterval (VAL); if (I <5) val = setinterval ("show (" + (I + 1) + ")", 20);} fontsize = s ;}} function start () {for (I = 1; I <= 5; I ++) {val = setinterval ("show (1)", 20); setinterval ("follow (" + I + ")", 100); }}// --> </SCRIPT> <script language = JavaScript> var word = new array (5); word [1] = "J "; word [2] = "O"; word [3] = "Y"; word [4] = "F"; word [5] = "M "; for (I = 1; I <= 5; I ++) document. write ("<Div id = 'word" + I + "'style = 'width: 20px; Height: 20px; position: absolute; font-size: 1000; visibility: hidden '> <font face = 'forte' color =' # 00ff00'> "+ word [I] +" </font> </div> "); Start (); </SCRIPT>
Character around mouse