|
16 | 16 | <td id="copyCode" style="display:none;" data-clipboard-target="#content_javascript" data-tooltip="Copy to clipboard"><div><img src="media/copy.png"></div></td> |
17 | 17 | <td class="tabmin"> </td> |
18 | 18 | <td class="tabmax"> |
19 | | - <a href="http://bin.webduino.io/yupu/edit?html,js,output" id="indexLinkToBin" target="_blank" title="{{openJsbin}}"><img src="media/dave.min.svg">{{linkToBin}}</a> |
| 19 | + <a href="launcher.html" target="_blank" id="linkToBin" title="{{openJsbin}}"><img src="media/dave.min.svg">{{linkToBin}}</a> |
20 | 20 | <div id="check-device-online"> |
21 | 21 | <input id="input-device" class=""> |
22 | 22 | <span id="check-btn" class="check-btn" title="{{checkDeviceOnline}}"> |
|
67 | 67 | <div id="demo-area-01" class="da show"> |
68 | 68 | <br/> |
69 | 69 | <span id="demo-area-01-show">123</span> |
70 | | - <br/><br/> |
71 | | - <h5>HTML:</h5> |
72 | | - <pre class="demo-pre"> |
73 | | -<span id="demo-area-01-show">要顯示的文字</span></pre> |
74 | 70 | </div> |
75 | 71 | <div id="demo-area-02" class="da"> |
76 | 72 | <div id="demo-area-02-light" class="off"> |
77 | 73 | <img src="../media/off.png" id="demo-area-02-off"> |
78 | 74 | <img src="../media/on.png" id="demo-area-02-on"> |
79 | 75 | </div> |
80 | | - <br/> |
81 | | - <h5>HTML:</h5> |
82 | | - <pre class="demo-pre"> |
83 | | -<div id="demo-area-02-light" class="off"> |
84 | | - <img src="http://blockly.webduino.io/media/off.png" id="demo-area-02-off"> |
85 | | - <img src="http://blockly.webduino.io/media/on.png" id="demo-area-02-on"> |
86 | | -</div></pre> |
87 | | - <h5>CSS:</h5> |
88 | | - <pre class="demo-pre"> |
89 | | -#demo-area-02-light img{ |
90 | | - height:200px; |
91 | | - display:none; |
92 | | -} |
93 | | -#demo-area-02-light.on #demo-area-02-on{ |
94 | | - display:inline-block; |
95 | | -} |
96 | | -#demo-area-02-light.off #demo-area-02-off{ |
97 | | - display:inline-block; |
98 | | -}</pre> |
99 | 76 | </div> |
100 | 77 | <div id="demo-area-03" class="da"> |
101 | 78 | <div id="demo-area-03-container"> |
102 | 79 | <img src="../media/webduino-logo.jpg" id="demo-area-03-image"> |
103 | 80 | </div> |
104 | | - <br/> |
105 | | - <h5>HTML:</h5> |
106 | | - <pre class="demo-pre"> |
107 | | -<div id="demo-area-03-container"> |
108 | | - <img src="../media/webduino-logo.jpg" id="demo-area-03-image"> |
109 | | -</div></pre> |
110 | | - <h5>CSS:</h5> |
111 | | - <pre class="demo-pre"> |
112 | | -#demo-area-03-container{ |
113 | | - position:relative; |
114 | | - width:150px; |
115 | | - height:150px; |
116 | | -} |
117 | | -#demo-area-03-image{ |
118 | | - position:absolute; |
119 | | - top:0; |
120 | | - left:0; |
121 | | - width:150px; |
122 | | - height:150px; |
123 | | - transition:.3s; |
124 | | - -webkit-transition:.3s; |
125 | | - -moz-transition:.3s; |
126 | | - transform-origin:75px 75px; |
127 | | - -webkit-transform-origin:75px 75px; |
128 | | - -moz-transform-origin:75px 75px; |
129 | | -}</pre> |
130 | 81 | </div> |
131 | 82 | <div id="demo-area-04" class="da"> |
132 | 83 | 選擇顏色:<input id="demo-area-04-color" type="color"> |
133 | 84 | <br/> |
134 | 85 | <br/> |
135 | 86 | <div id="demo-area-04-area"></div> |
136 | | - <br/><br/> |
137 | | - <h5>HTML:</h5> |
138 | | - <pre class="demo-pre"> |
139 | | -選擇顏色:<input id="demo-area-04-color" type="color"> |
140 | | -<div id="demo-area-04-area"></div></pre> |
141 | 87 | </div> |
142 | 88 | <div id="demo-area-05" class="da"> |
143 | 89 | <button id="demo-area-05-btn1" class="db5">{{demoAreaBtn1}}</button> |
144 | 90 | <button id="demo-area-05-btn2" class="db5">{{demoAreaBtn2}}</button> |
145 | 91 | <button id="demo-area-05-btn3" class="db5">{{demoAreaBtn3}}</button> |
146 | 92 | <button id="demo-area-05-btn4" class="db5">{{demoAreaBtn4}}</button> |
147 | 93 | <button id="demo-area-05-btn5" class="db5">{{demoAreaBtn5}}</button> |
148 | | - <br/><br/> |
149 | | - <h5>HTML:</h5> |
150 | | - <pre class="demo-pre"> |
151 | | -<button id="demo-area-05-btn1" class="db5">按鈕 1</button> |
152 | | -<button id="demo-area-05-btn2" class="db5">按鈕 2</button> |
153 | | -<button id="demo-area-05-btn3" class="db5">按鈕 3</button> |
154 | | -<button id="demo-area-05-btn4" class="db5">按鈕 4</button> |
155 | | -<button id="demo-area-05-btn5" class="db5">按鈕 5</button></pre> |
156 | 94 | </div> |
157 | 95 | <div id="demo-area-06" class="da"> |
158 | 96 | 數值:<span id="demo-area-06-input-value">90</span> |
159 | 97 | <br/> |
160 | 98 | 拉霸:<input type="range" min="0" max="180" step="5" value="90" id="demo-area-06-input"> |
161 | | - <br/><br/> |
162 | | - <h5>HTML:</h5> |
163 | | - <pre class="demo-pre"> |
164 | | -數值:<span id="demo-area-06-input-value">90</span> |
165 | | -拉霸:<input type="range" min="0" max="180" step="5" value="90" id="demo-area-06-input"></pre> |
166 | 99 | </div> |
167 | 100 | <div id="demo-area-07" class="da"> |
168 | 101 | <div id="player"></div> |
169 | 102 | <span style="font-size:12px;">{{demoAreaYoutube1}}<br/>{{demoAreaYoutube2}}<strong>https://www.youtube.com/iframe_api</strong></span> |
170 | | - <br/><br/> |
171 | | - <h5>HTML:</h5> |
172 | | - <pre class="demo-pre"> |
173 | | -<div id="player"></div></pre> |
174 | 103 | </div> |
175 | 104 | <div id="demo-area-08" class="da"> |
176 | 105 | <div id="demo-area-08-content"> |
177 | 106 | <video id="demo-area-08-video" preload autoplay loop muted controls></video> |
178 | 107 | <canvas id="demo-area-08-canvas" ></canvas> |
179 | 108 | </div> |
180 | | - <span style="font-size:12px;"><a href="http://blockly.webduino.io/lib/tracking-min.js" target="_blank">tracking-min.js</a></span> |
181 | | - <br/> |
182 | | - <span style="font-size:12px;"><a href="http://blockly.webduino.io/lib/face-min.js" target="_blank">face-min.js</a></span> |
183 | | - <br/><br/> |
184 | | - <h5>HTML:</h5> |
185 | | - <pre class="demo-pre"><div id="demo-area-08-content"> |
186 | | - <video id="demo-area-08-video" preload autoplay loop muted controls></video> |
187 | | - <canvas id="demo-area-08-canvas" ></canvas> |
188 | | -</div></pre> |
189 | | - <h5>CSS:</h5> |
190 | | - <pre class="demo-pre">#demo-area-08-content{ |
191 | | - position: relative; |
192 | | - width:100%; |
193 | | - max-width:300px; |
194 | | - height:200px; |
195 | | -} |
196 | | -#demo-area-08-video{ |
197 | | - top:0; |
198 | | - left:0; |
199 | | - position: absolute; |
200 | | - width:100%; |
201 | | - height:100%; |
202 | | -} |
203 | | - |
204 | | -#demo-area-08-canvas{ |
205 | | - top:0; |
206 | | - left:0; |
207 | | - position: absolute; |
208 | | - width:100%; |
209 | | - height:100%; |
210 | | -}</pre> |
211 | 109 | </div> |
212 | 110 | </div> |
213 | 111 | </div> |
|
0 commit comments