-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogramming.html
107 lines (85 loc) · 2.74 KB
/
programming.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Javascript Programming 新手捲軸</title>
<meta name="description" content="Javascript 新手教學">
<meta name="author" content="MrOrz">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="https://raw.github.com/necolas/normalize.css/master/normalize.css">
<link rel="stylesheet" href="css/theme/webdev.css" id="theme">
<link rel="stylesheet" href="lib/css/zenburn.css">
<link rel="stylesheet" href="css/print/paper.css" type="text/css" media="print">
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
<style>
h1,h2,h3,h4{
margin-top: 2em;
color: #807e1a;
}
body{
line-height: 1.5;
}
[data-markdown]{
width: 600px;
margin: -0 auto;
}
figure{
text-align: center;
}
figcaption{
font-size: 75%;
}
.left, .right{
margin: 0.6em 1em 1.6em;
}
.left{
float: left;
}
.right{
float: right;
}
.clear{
clear: both;
}
</style>
</head>
<body>
<section data-markdown="markdown/programming/index.md"></section>
<script src="lib/js/head.min.js"></script>
<script src="plugin/markdown/marked.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script src="plugin/jsbin/jsbin.js"></script>
<script>
hljs.initHighlightingOnLoad();
var links = document.querySelectorAll('a.jsbin-embed');
function embed(link) {
var iframe = document.createElement('iframe'),
resize = document.createElement('div');
iframe.src = link.href;
iframe._src = link.href; // support for google slide embed
iframe.className = 'jsbin-embed';
iframe.style.border = '1px solid #aaa';
iframe.style.width = '100%';
iframe.style.minHeight = '300px';
link.parentNode.replaceChild(iframe, link);
var onmessage = function (event) {
event || (event = window.event);
iframe.style.height = event.data.height + 'px';
};
if (window.addEventListener) {
window.addEventListener('message', onmessage, false);
} else {
window.attachEvent('onmessage', onmessage);
}
}
for(i=0; i<links.length; ++i){
embed(links[i]);
}
</script>
</body>
</html>