[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for November, 2024.
Check out Janggi (Korean Chess), our featured variant for November, 2024.
I have begun to maintain a fork of betzaNew.js at /fergus/betzaFlex.js. Since it differs from betzaNew.js in various respects, I am just providing it as an alternative. Although I have mentioned some of its differences on other pages while working on it, I will summarize them together here:
display
betweennone
andinherit
, it changes the value ofvisibility
betweenhidden
andvisible
, and it changes the value ofheight
between0px
andauto
. The effect of doing this is that the second column is always as wide as its widest element even when that element is invisible.min
function to calculate a size that will best fit the screen on small mobile devices. Themin
function is given three values. Besides the assigned value, these are the maximum height (invh
units) and the maximum width (invw
units) any cell can have for the whole board to fit the display. Since these values will be greater on large screens, it will use the assigned value when there is enough space. But when the screen isn't large enough to fit the whole board at the assigned size, it will calculate and use a smaller size that will fit the screen.