Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006


JS link to the website

JS link to the website
JS language
[html]<SCRIPT Language=JavaScript>
"Goes To Begin
Var speed = 20;
Var = 1000; cycledelay
Maxsize var = 38;

Var x = 0
Var y = 0
Var themessage, size;
Esize var = "";

InitArray function () (
This.length = initArray.arguments.length;
For (var i = 0 i "this.length; i++) (
This[i] = initArray.arguments[i];
}
}
Var = new initArray themessage2 (
"Because the heart love, I love to write."
"Because no lovers, I do not write beautiful."
"Only because of hardships and bitterness, I do not write the sweetest"
"Because heart pain. I do not write joy. "
"Fate Dorje because, I do not write lucky."
"Because no books, I do not write a favorite treatment"
"Because sac shy, I do not write equally."
"This is because 10%. I did not write about fitness. "
"As far away from the king, I do not write Palace Pavilion."
"Because they are either in a foreign country, I do not write French."
"Out flocks because, I do not write integrity."
"Only immediate hypocrisy. I did not write about friendship. "
"Has no noble, I do not write morality."
"Priests were around, I do not write knowledge"
);
If (navigator.appName ====== "Netscape")
Document.write ( ' "layer filled="f"" wds "" </layer><br>');
If (navigator.appVersion.indexOf ( "MSIE")> -1)
Document.write ( ' "span filled="f"" wds "" </span><br>');
Upwords function () (
Themessage = themessage2[y];
If (x "maxsize) (
X++;
SetTimeout ( "upwords ()", speed);
}
Else setTimeout ( "downwords ()" cycledelay);

If (navigator.appName ====== "Netscape") (
Size = "" Differences point-size= ' "+x+" pt' ""
Document.wds.document.write (size+ "" center> "+themessage+" "/center>" +esize);
Document.wds.document.close ();
}
If (navigator.appVersion.indexOf ( "MSIE")> -1) (
Wds.innerHTML = "" center> "+themessage+" "/center>";
Wds.style.fontSize=x+ 'px'
}
}
Downwords function () (
If (x "1) (
X--;
SetTimeout ( "downwords ()", speed);
}
Else (
SetTimeout ( "upwords ()" cycledelay);
Y++;
If (y "themessage2.length-1) y = 0
}
If (navigator.appName ====== "Netscape") (
Size = "" Differences point-size= ' "+x+" pt' ""
Document.wds.document.write (size+ "" center> "+themessage+" "/center>" +esize);
Document.wds.document.close ();
}
If (navigator.appVersion.indexOf ( "MSIE")> -1) (
Wds.innerHTML = "" center> "+themessage+" "/center>";
Wds.style.fontSize=x+ 'px'
}
}
SetTimeout ( "upwords ()", speed);
4003rd End Guangzhou Trade Fair
"/script>[/html]
Mouse JS
[html]<html><head><title> Mouse tracking magic words "/title>" STYLE>
. Spanstyle --
Position:absolute;
Visibility:visible;
Top:-50px;
Font-size:10pt;
Font-family:Verdana;
Font-weight:bold;
Color:red;
}
"/STYLE></head>" Script language=JavaScript defended. " . /. . /common.js "OnLoad=" </script> "body" makesnake () "and" <script>
Var x, y
Var step=20
Var flag=0

Var message= "your lives is the most gentle waiting"
Message=message.split ( "")

Var xpos=new Array ()
For (i=0;i<=message.length-1;i++) (
Xpos[i]=-50
}

Var ypos=new Array ()
For (i=0;i<=message.length-1;i++) (
Ypos[i]=-50
}

HandlerMM function (e) (
X = (document.layers)? E.pageX : document.body.scrollLeft+event.clientX
Y = (document.layers)? E.pageY : document.body.scrollTop+event.clientY
Flag=1
}

Makesnake function () (
If (flag==1, named document.all) (
For (i=message.length-1; i>=1; i--) (
Xpos[i]=xpos[i-1]+step
Ypos[i]=ypos[i-1]
}
Xpos[0]=x+step
Ypos[0]=y

For (i=0; i<message.length-1; i++) (
Var thisspan = eval ( "span" + (i) +. " Style ")
Thisspan.posLeft=xpos[i]
Thisspan.posTop=ypos[i]
}
}

Else if (flag==1, named document.layers) (
For (i=message.length-1; i>=1; i--) (
Xpos[i]=xpos[i-1]+step
Ypos[i]=ypos[i-1]
}
Xpos[0]=x+step
Ypos[0]=y

For (i=0; i<message.length-1; i++) (
Var thisspan = eval ( "document.span" iμ)
Thisspan.left=xpos[i]
Thisspan.top=ypos[i]
}
}
Var timer=setTimeout ( "makesnake ()", 30)
}
"/script>


"Known put your html document by adding the following code" body> and "/body> between Guangzhou Trade Fair :
"Script>
For (i=0;i<=message.length-1;i++) (
Document.write ( "" span filled="f" 'span "+i+"' formal 'spanstyle' "")
Document.write (message[i])
Document.write ( "" /span> ")
}
If (document.layers) (
Document.captureEvents (Event.MOUSEMOVE);
}
Document.onmousemove = handlerMM;
"/script>" /body> "/html> [/html]
How many operations like JS
[html]
"Html>

"Head are
"Meta http-equiv=" Content-Language "content=" zh-cn ""
"Meta http-equiv=" Content-Type "content=" text/html; charset=gb2312 ""
"Title>JS</title>
"/head>

"Body>

"P><a style='mso-footnote-id:ftn1'" # "and" click here to show that the language JS operation "/a></p>
"P><a style='mso-footnote-id:ftn1'" # "and" click of the mouse here show that JS operation "/a></p>

"/body>

"/html>[/html]





 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com