What I would like to be able to do is:
1) Post a game record into EidoGo (with the game record's text inline using the class="eidogo-player-auto" on a div tag).
2) Later in the same web page, make a link, such than when someone clicks the link, the EidoGo player jumps to that move number.
I don't actually think this is possible, but if it is, it would make me happy.
Thanks.
Are hyperlinks into EidoGo game records possible?
- fwiffo
- Gosei
- Posts: 1435
- Joined: Tue Apr 20, 2010 6:22 am
- Rank: Out of practice
- GD Posts: 1104
- KGS: fwiffo
- Location: California
- Has thanked: 49 times
- Been thanked: 168 times
Re: Are hyperlinks into EidoGo game records possible?
It's possible, but you'll need to know some Javascript. You can't use the "automatic" method of embedding. You'll have something like this.
If you're talking about doing it here on the forum, the answer is: "No... well, actually yes... but I don't have time."
Code: Select all
<div id="player-container"></div>
<script type="text/javascript">
var config = {
container: "player-container",
... other eidogo config options ...
};
var player = new eidogo.Player(config);
</script>
<p><a href="#" onclick="player.goTo(25); return false;">Jump to move 25</a>!</p>If you're talking about doing it here on the forum, the answer is: "No... well, actually yes... but I don't have time."