Check out Glinski's Hexagonal Chess, our featured variant for May, 2024.


[ 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

Problems with this website[Subject Thread] [Add Response]
H. G. Muller wrote on Tue, Nov 22, 2016 09:43 AM UTC:

Thanks! I now changed the URL in all diagrams I posted these past months in the article comments to point to that .js instead of the .gif, and can confirm that these now work in the Chrome browser as well. I will also have the Design Wizard for interactive diagrams generate the link to the .js.

Only problem is that I cannot update the script anymore. But fortunally I fixed a bug that crept in (and made zoning of the board incompatible with promotion choice, something that was not apparent when I introduced the zoning to do Xiangqi) yesterday, so what we have now should be in good shape. If in the future I need to cater to new demands of some variant with unusual rules, I can always have that refer to the .gif for trying it out.

An alternative would be to add *.js files to the allowed file types for uploading as 'membergraphics'. I don't see much harm in that, as it would always be possible to achieve the same thing by including the same script in the HTML page itself. Normally you would do that for scripts that are specific to the page. It is just that the script for the diagram is not very small, and shared between dozens of pages, that makes it desirable to share it.