Thanks, should be fixed now.Uly wrote:Okay, at this post:
http://www.open-chess.org/viewtopic.php ... 8822#p8822
I posted the game using pgnlast tags, however, I see the penultimate move highlighted (and position shown) instead of the last move.
How to post chess games
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
Re: How to post chess games
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
Re: How to post chess games
Here's a game with variations higher up in the move list. They should be in green text, in [brackets]. When you've selected the game widget, the - key will fold and unfold the variations. This might only be on a US keyboard, but I don't think so.Uly wrote:Great! I haven't found any problems.
Pressing the '-' key doesn't do anything around here.Jeremy Bernstein wrote:Live variations support is now live. You can toggle them on and off with the '-' key.
Jeremy
Re: How to post chess games
I posted a PGN with many games, and nothiced a buggy thing, and a possible improvement of behavior.
The first:

(note I'm at 800x600 res)
The << < + > >> arrows seem missing. Also, the scrollbar going down seems to be cut off.
The improvement on behavior is having it remember what game one is seeing, currently, a ... appears at the top, and if one e.g. clicks on the third game, after clicking the box again ... is highlighted instead of the third game, so navigation is hard as one would need to memorize what game was previously clicked.
The first:

(note I'm at 800x600 res)
The << < + > >> arrows seem missing. Also, the scrollbar going down seems to be cut off.
The improvement on behavior is having it remember what game one is seeing, currently, a ... appears at the top, and if one e.g. clicks on the third game, after clicking the box again ... is highlighted instead of the third game, so navigation is hard as one would need to memorize what game was previously clicked.
Re: How to post chess games
Yes, this usually happens when they are multiple games. I usually end up having to use the arrow keys to reach the game's end in some cases.The << < + > >> arrows seem missing. Also, the scrollbar going down seems to be cut off.
Re: How to post chess games
Okay, so this isn't exclusive to 800x600 res 

-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
Re: How to post chess games
Thanks for the report, I'll check it out.Uly wrote:Okay, so this isn't exclusive to 800x600 res
Re: How to post chess games
how to add board coordinates in pgn4web board generator? pls help
Re: How to post chess games
Hello, I had a look at the updates you did on the pgn4web code to add variation support.
I found a couple of bugs, that might affect your forum also:
1) mistakes in the PGN syntax are not handled gracefully, for instance this games trows a javascript exception and does not display anything at all:
See:
2) some comments are lost, for instance the word "try" is lost from this game:
See:
I found a couple of bugs, that might affect your forum also:
1) mistakes in the PGN syntax are not handled gracefully, for instance this games trows a javascript exception and does not display anything at all:
Code: Select all
[White "someone"]
[Black "other"]
1. e4 c5 ( c4 ) 2. Nf3 *
2) some comments are lost, for instance the word "try" is lost from this game:
Code: Select all
[White "someone"]
[Black "other"]
1. e4 c5 ( { try } c6 { instead } ) 2. Nf3 *
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
Re: How to post chess games
Thanks! I'll fix that up.pgn4web wrote:Hello, I had a look at the updates you did on the pgn4web code to add variation support.
I found a couple of bugs, that might affect your forum also:
jb
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
Re: How to post chess games
OK, both of those problems are "fixed" (the second one really, the first one is just kind of fixed (throws errors because the PGN is bad, but loads the board and lets you begin to debug your game). I'll look more closely, time permitting, at a better solution for invalid PGN data.Jeremy Bernstein wrote:Thanks! I'll fix that up.pgn4web wrote:Hello, I had a look at the updates you did on the pgn4web code to add variation support.
I found a couple of bugs, that might affect your forum also:
jb