DIR : /home/kozerus/public_html/eidogo/example2.html

/home/kozerus/public_html/eidogo

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>EidoGo Advanced Example</title>

    <!-- International support -->
    <!-- <script type="text/javascript" src="player/i18n/XXX.js"></script> -->
    
    <script type="text/javascript" src="player/js/all.compressed.js"></script>

    <!-- Uncomment the following to work with the original source. -->
    <!-- <script type="text/javascript" src="player/js/lang.js"></script>
    <script type="text/javascript" src="player/js/eidogo.js"></script>
    <script type="text/javascript" src="player/js/util.js"></script>
    <script type="text/javascript" src="player/i18n/en.js"></script>
    <script type="text/javascript" src="player/js/gametree.js"></script>
    <script type="text/javascript" src="player/js/sgf.js"></script>
    <script type="text/javascript" src="player/js/board.js"></script>
    <script type="text/javascript" src="player/js/rules.js"></script>
    <script type="text/javascript" src="player/js/player.js"></script>
    <script type="text/javascript" src="player/js/init.js"></script> -->
    
</head>
<body>
	
    <h1>EidoGo Player Advanced Example</h1>

    <p>This is an advanced example. <a href="javascript:player.goTo(4)">Click here to go to move 4 on the main line</a>.</p>

    <div id="player-container"></div>

    <script type="text/javascript">
    var player = new eidogo.Player({
        container:       "player-container", // HTML element id indicating where to put the player
        theme:           "standard", // "standard" or "compact"
        sgfUrl:          "sgf/example.sgf", // relative URL (within same domain) to SGF file to load 
        loadPath:        [0, 0], // The location within the game tree to start at
        mode:            "play", // "play" or "view"
        showComments:    true,
        showPlayerInfo:  true,
        showGameInfo:    true,
        showTools:       true,
        showOptions:     true,
        showNavTree:     false,
        markCurrent:     true,
        markVariations:  true,
        markNext:        false,
        enableShortcuts: false,
        problemMode:     false
    });
    </script>

</body>
</html>
//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer