Check out Makruk (Thai Chess), our featured variant for March, 2025.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Xiangqi: Chinese Chess. Links and rules for Xiangqi (Chinese Chess). (9x10, Cells: 90) (Recognized!)[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Fri, Apr 25 01:41 PM UTC in reply to H. G. Muller from 01:16 PM:

The automatically generated buttons do seem to be working now, but I am now having an issue with my own buttons. I put the diagram on the page, but on my desktop, my own buttons would not change the board. With Web Developer Tools in Firefox, I could see that it was using board1 instead of board0. I then tried it on my iPad, which does not display the comments, and it worked fine. I figure that because multiple Interactive Diagrams were on the desktop version, it was using different board numbers for each. This is why it is important to be able to use background= instead of getElementById('board0').style.backgroundImage= in the JavaScript for a button. Since I would prefer to use my own buttons for better control of the layout, I'm hoping you can update Display() to change the background image to whatever the value of background is.