diff options
author | Jinwei Zhao <[email protected]> | 2015-12-19 22:24:42 +0900 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:45 +0800 |
commit | dbcebe1def5c355120c61b575390d1d9ac355f67 (patch) | |
tree | 70e61cc34a690c63ff80962e9ef883fe69dba6d3 /Code/Train/index.html | |
parent | 7e473afdca63f0ceed5d895c3be3b43f213ca136 (diff) | |
download | jinwei.me-dbcebe1def5c355120c61b575390d1d9ac355f67.tar.gz |
clear up
Diffstat (limited to 'Code/Train/index.html')
-rw-r--r-- | Code/Train/index.html | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/Code/Train/index.html b/Code/Train/index.html new file mode 100644 index 0000000..4d61194 --- /dev/null +++ b/Code/Train/index.html | |||
@@ -0,0 +1,110 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | |||
4 | <head> | ||
5 | <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script> | ||
6 | <script type="text/javascript" src="js/alphabet.js"></script> | ||
7 | <script type="text/javascript"> | ||
8 | var myName = "@spearmint"; | ||
9 | |||
10 | var red = [0, 100, 63]; | ||
11 | |||
12 | var orange = [40, 100, 60]; | ||
13 | |||
14 | var green = [75, 100, 40]; | ||
15 | |||
16 | var blue = [196, 77, 55]; | ||
17 | |||
18 | var purple = [280, 50, 60]; | ||
19 | |||
20 | var letterColors = [red, orange, green, blue, purple]; | ||
21 | |||
22 | drawName(myName, letterColors); | ||
23 | |||
24 | if (10 < 3) | ||
25 | |||
26 | { | ||
27 | |||
28 | bubbleShape = 'square'; | ||
29 | |||
30 | } else | ||
31 | |||
32 | { | ||
33 | |||
34 | bubbleShape = 'circle'; | ||
35 | |||
36 | } | ||
37 | |||
38 | bounceBubbles(); | ||
39 | </script> | ||
40 | <script LANGUAGE="JavaScript"> | ||
41 | <!-- | ||
42 | |||
43 | function openwin() | ||
44 | |||
45 | { | ||
46 | |||
47 | window.open('video.html', '', 'width=720, height=410, toolbar=no, menubar=no,scrollbars=no, resizable=yes, location=no, status=no') | ||
48 | |||
49 | } | ||
50 | |||
51 | --> | ||
52 | </script> | ||
53 | <script language="javascript"> | ||
54 | <!-- | ||
55 | |||
56 | width = screen.width; | ||
57 | |||
58 | height = screen.height - 28; | ||
59 | |||
60 | window.resizeTo(width, height); | ||
61 | |||
62 | window.moveTo(0, 0); | ||
63 | |||
64 | --> | ||
65 | </script> | ||
66 | <meta charset="utf-8"> | ||
67 | <title>Train</title> | ||
68 | <style type="text/css"> | ||
69 | body { | ||
70 | background-color: #EFEEEC; | ||
71 | font-family: baumans; | ||
72 | font-style: normal; | ||
73 | font-weight: 400; | ||
74 | font-size: 36px; | ||
75 | background-image: url(img/Train.jpg); | ||
76 | } | ||
77 | |||
78 | a:link { | ||
79 | text-decoration: none; | ||
80 | color: #FFFFFF; | ||
81 | } | ||
82 | |||
83 | a:visited { | ||
84 | text-decoration: none; | ||
85 | color: #FFFFFF; | ||
86 | } | ||
87 | |||
88 | a:hover { | ||
89 | text-decoration: none; | ||
90 | } | ||
91 | |||
92 | a:active { | ||
93 | text-decoration: none; | ||
94 | font-style: normal; | ||
95 | font-weight: 400; | ||
96 | } | ||
97 | </style> | ||
98 | </head> | ||
99 | |||
100 | <body> | ||
101 | <canvas id="myCanvas"></canvas> | ||
102 | <script type="text/javascript" src="http://s3.amazonaws.com/codecademy-content/courses/hour-of-code/js/bubbles.js"></script> | ||
103 | <script type="text/javascript" src="js/main.js"></script> | ||
104 | <p style="text-align: center; color: #FFF"><a href="http://blog.jinwei.me" target="new">❤ティガ ずっとここにいて</a></p> | ||
105 | <p style="text-align: center; color: #FFF; font-family: baumans; font-style: normal; font-weight: 400; font-size: 24px"><a href="#" onClick="openwin()">Video</a></p> | ||
106 | </video> | ||
107 | <audio src="I Love You.mp3" preload="auto" autoplay="true" loop="true"></audio> | ||
108 | </body> | ||
109 | |||
110 | </html> | ||