点击(此处)折叠或打开
- <html xmlns=\"http://www.w3.org/1999/xhtml\">
- <head>
- <title>JavaScript打造的一棵圣诞树 -石家庄瑜伽老师培训 石家庄拓展</title>
- </head>
- <body>
- <STYLE>
-
- BLOCKQUOTE {font-weight:900; line-height:0.75em}
-
- </STYLE>
- <BLOCKQUOTE><FONT COLOR=YELLOW><CENTER>
-
- *<BR>
-
- * * *<BR>
-
- * *<BR>
-
- <FONT COLOR=GREEN>
-
- <SCRIPT LANGUAGE=\"JavaScript\">
-
- <!--
-
- var Number=Math.random()*10+3;
-
- var Length=Math.round(Number)
-
- var width=1;
-
- for (i=0; i<=Length; i++)
-
- {
-
- for (x=0; x<=4; x++)
-
- {
-
- for (y=1; y<=width; y++)
-
- {
-
- var NewNumber=Math.random()*15;
-
- var Ornament=Math.round(NewNumber);
-
- if (Ornament<=1)
-
- {
-
- document.write(\" ^\");
-
- }
-
- if (Ornament>=2){
-
- document.write(\" ^\");
-
- }
-
- }
-
- document.write(\"
\"); -
- var width=width+1;
-
- }
-
- var width=width-2;
-
- }
-
- //-->
-
- </SCRIPT>
-
- </CENTER></FONT></BLOCKQUOTE>
-
- <br />
-
- </body>
- </html>
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29737856/viewspace-1273912/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29737856/viewspace-1273912/