start
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン | |||
| start [2026/08/31 01:38] – mokuhazushi53 | start [2026/08/31 01:40] (現在) – mokuhazushi53 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | < | + | ====== モクハズシ専用サイトにようこそ ====== |
| - | <div id=" | + | |
| - | <span id=" | + | |
| - | </ | + | |
| - | < | ||
| - | (function() { | ||
| - | var statusMsg = document.getElementById(" | ||
| - | if (!window.WGo) { | ||
| - | // パスを / | ||
| - | var css = document.createElement(' | ||
| - | css.rel = ' | ||
| - | css.href = '/ | ||
| - | document.head.appendChild(css); | ||
| - | |||
| - | var script1 = document.createElement(' | ||
| - | script1.src = '/ | ||
| - | | ||
| - | script1.onerror = function() { | ||
| - | if(statusMsg) statusMsg.innerHTML = "< | ||
| - | }; | ||
| - | |||
| - | script1.onload = function() { | ||
| - | var script2 = document.createElement(' | ||
| - | script2.src = '/ | ||
| - | | ||
| - | script2.onerror = function() { | ||
| - | if(statusMsg) statusMsg.innerHTML = "< | ||
| - | }; | ||
| - | | ||
| - | script2.onload = initWGoBoard; | ||
| - | document.head.appendChild(script2); | ||
| - | }; | ||
| - | document.head.appendChild(script1); | ||
| - | } else { | ||
| - | initWGoBoard(); | ||
| - | } | ||
| - | |||
| - | function initWGoBoard() { | ||
| - | var elem = document.getElementById(" | ||
| - | if (elem) { | ||
| - | elem.innerHTML = ""; | ||
| - | new WGo.BasicPlayer(elem, | ||
| - | sgf: " | ||
| - | enableWheel: | ||
| - | }); | ||
| - | } | ||
| - | } | ||
| - | })(); | ||
| - | </ | ||
| - | </ | ||
start.1788107929.txt.gz · 最終更新: by mokuhazushi53
