Still playing around with this. Works in all Gecko browsers (Firefox etc).
Opera 9 and Konqueror 3.5.2 have repaint issues.
(repaint worked around, and a Konqueror/Safari colgroup bug)
Gecko browsers occasionally position pieces incorrectly after "reset" button (overlapping two ranks). Appears to be font size dependant (not reproducible consistently through all CTRL +/CTRL -). Also the new reflow refactor seems to have fixed this in Firefox 3.0/Seamonkey 1.5
IE6 and IE7 seem to be confused by concepts like onmousedown and "unicode"
Mostly just fun referencing chess pieces in code. Working on a basic client/server now... Using text requires a font with support for unicode Symbol, Other in the range of 9812-9823. Kass' awesome Code 200x complete unicode. A non-unicode version
White | Black | ||
---|---|---|---|
. | . | . | . |
. | . | . | . |
. | . | . | . |
. | . | . | . |
. | . | . | . |
. | . | . | . |
. | . | . | . |
. | . | . | . |
a | b | c | d | e | f | g | h | ||
---|---|---|---|---|---|---|---|---|---|
8 | ♜ | ♞ | ♝ | ♛ | ♚ | ♝ | ♞ | ♜ | 8 |
7 | ♟ | ♟ | ♟ | ♟ | ♟ | ♟ | ♟ | ♟ | 7 |
6 | . | . | . | . | . | . | . | . | 6 |
5 | . | . | . | . | . | . | . | . | 5 |
4 | . | . | . | . | . | . | . | . | 4 |
3 | . | . | . | . | . | . | . | . | 3 |
2 | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | ♙ | 2 |
1 | ♖ | ♘ | ♗ | ♕ | ♔ | ♗ | ♘ | ♖ | 1 |
a | b | c | d | e | f | g | h |