The Chess Variant Pages

[ 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

This item is a game information page
It belongs to categories: Two dimensional, Large board, Oriental, From ancient times, Oriental
It was last modified on: 2015-04-20
 Author: H. G.  Muller. Dai Shogi. Large armies including a multi-capturing Lion battle each other on a big board. (15x15, Cells: 225) [All Comments] [Add Comment or Rating]
H. G. Muller wrote on 2017-12-07 UTC

It seems to me that the proper conclusion is "The 'Push to Kindle' function you are using does not properly handle pages using JavaScript". There doesn't seem to be any logical reason why it would be impossible to push the page to wherever, using the HTML that is being displayed at the moment the function is activated (just reading out the innerHTML of the page body). Reverting to the page source is just crappy. It should certainly be possible to push these pages to a Kindle, using proper software.

The buttons are actually HTML, but the trick I used is to put everything specific to the interactive version in a <div> section that has style="display:none", and then have JavaScript alter that style to "display:inherit" in the startup code. That way the diagram definition, and other stuff that would not work without JavaScript (such as the buttons), will not show up if JavaScript is disabled, and will be replaced by the static .png image in <noscript> tags.