DIR : /home/kozerus/public_html/go/eidogo/tourney/onclick.html
/home/kozerus/public_html/go/eidogo/tourney
<html>
<head>
<title>onclick.html 20250510_1615</title>
</head>
<body bgcolor=linen>
<h1>onclick test</h1>
<div id=div_onclick>
<a href=# onclick="readfile('sgf/3iYEzTzfX.sgf'); return false;"> sgf/3iYEzTzfX.sgfid1</a><br>
<a href=# onclick="readfile('sgf/4wgsFt8oU.sgf'); return false;"> sgf/4wgsFt8oU.sgf</a><br>
<a href=# onclick="readfile('sgf/1WIugiTwy.sgf'); return false;"> sgf/1WIugiTwy.sgf</a><br>
<a href=# onclick="readfile('sfg/print1.sgf'); return false;"> sfg/print1.sgf</a><br>
<a href=# onclick="readfile('sfg/print2.sgf'); return false;"> sfg/print2.sgf</a><br>
</div id=div_onclick_end>
<script id=script_readfile>
function readfile(filename) {
var reader = new FileReader();
reader.onload = function(event) {
const result = event.target.result;
document.body.innerHTML += "<p>" + result + "</p>";
};
reader.readAsText(new File([filename], 'text/plain'));
// const reader = new FileReader();
// reader.readAsText(new File(['id.txt'], 'text/plain'));
// var result = document.getElementById("result");
// reader.onload = function(event) {
// result.innerHTML = event.target.result;
// };
// reader.readAsText(id);
}
</script id=script_readfile_end>
</body>
</html>
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer