jsPgnViewer

Toomas R?mer bring us the jsPgnViewer. jsPgnViewer shows a interactive chess board that runs a PGN files. Like this one:


Editor Comment:

Something like this is just have to share. you don't know when you might want to post chess games on your page.


I read your post and noticed

Toomas's picture

I read your post and noticed that the board is not functioning as it should. I started debugging the software and discovered that the PGN on your page has a lot of extra spaces. I released a new version which is more relaxed on the format. Check the http://tom.jabber.ee/chess/index.php?n=Main.Download for downloads.

I've tested the pgnViewer with about ~4000 games and this problem didn't arise. Thanks :)

Cool glasses

Just update the script with

Mgccl's picture

Just update the script with the new version, thx XD

[...] Chess Widget is like

[...] Chess Widget is like jsPgnViewer, but it’s more Ajax. It retrieve chess data from the server and show the game dynamically. [...]

[...] WebDevLogs.com had a

[...] WebDevLogs.com had a post about the plugin. They had made a static website for a demo. I noted that I could not play the game to the end and clicking moves on the movepane didn’t work. I saw that the PGN that was in the html had all kinds of extra spaces. Right now I had tested the library with PGN files that are exported by programs. This time it seemed to be have been copied and edited a bit. That explained it. I went through the PGN parsing code and made some adjustments. The PGN parsing is more relaxed now and I released a new version 0.3.1. Check the download page. [...]

Post new comment

The content of this field is kept private and will not be shown publicly.
If you have a Gravatar account, used to display your avatar.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <span> <fn>
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • Use [fn]...[/fn] (or <fn>...</fn>) to insert automatically numbered footnotes.

More information about formatting options

What is 2 + 1?
To combat spam, please solve the math question above.
Honey Pot that kill bots