/Home or play chess at
http://chessforeva.appspot.com
......... Google App Engine ........... .... ....

Chess software for fun

otrdiena, 2009. gada 9. jūnijs

Chessforeva diagram sample

This is a diagram sample based on Chessforeva programming scripts



Code:

<script src="http://chessforeva.appspot.com/c0_chess.js" type="text/javascript"></script>

<script type="text/javascript">
c0_initall();
c0_at_top=80;c0_at_left=10;
c0_side=-1;
c0_relative_size_procents=50;
c0_zoom=false;
c0_draw_empty_board();
c0_set_start_position("e2e4c7c5g1f3b8c6d2d3");
</script>


If You wish to use it for serious publication purposes then better use each board in separate frame.
<iframe src="http://...." width="400" height="280" frameborder="0"></iframe>
Otherwise the board lives it's own and only life in the browser. Separate it and avoid problems.

Nav komentāru:

Ierakstīt komentāru