Download AJAX based chess widget

Demo

Bookmark and Share

Licensing

This script is distributed under the LGPL open source license.
Commercial licenses are also available. Some of these licenses also includes personal e-mail support for up to 1 year.

Download files

You can download the script from this zip file.

PHP

This script requires that you have access to PHP.

How it works

This script uses AJAX to call a PHP file on the server. This PHP files parses a predefined PGN file(Common format for saved chess games) and shows you the available games in the files. Ajax is also used to retreve the moves in the game when you click on it.

Configuration

You can make changes to the layout by adjusting the CSS.

Which PGN file to load is specified in the file getGameData.php, example:

$pgnFile = "games/Lasker.pgn";

Comments

samuel
Hi,How can I call with php this link<a href="#" onclick="chessObj.setPgn('topalov-kramnik-elista.pgn');return false"> </a>I tried many time,but no succes...Thanks
samuel at 10:30PM, 2012/02/01.

Post your comment

Don't have an avatar? Create one at Gravatar.com.

Confirmation code:

Go to cbolson.com


About/Contact | A good idea? | Submit a script | Privacy notice
© 2005 - 2017 dhtmlgoodies.com