Check out McCooey's Hexagonal Chess, our featured variant for May, 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

Interactive diagrams. (Updated!) Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Dec 8, 2022 09:12 PM UTC:

Your HTML is using the ID of 'wizard' twice, once for a P tag and once for a DIV tag. Each ID is supposed to be unique, though. It looks like your button is showing the text in your P tag while ignoring what's in your DIV with the same ID. Make sure you use the 'wizard' ID only once and that you use it for what you want to show up when someone hits the button.

Also, I fixed a bug in the scripts. While transitioning from $useshtml to $format, I left both variables in some conditionals. I have now removed $useshtml from those conditionals, and with that gone, the Text format should now work without modifying anything. Just be sure to not use the TEXTAREA tag in your code, and you should be okay.