Comments/Ratings for a Single Item
There is a photocopy of the original rules here: http://www.smorgasboardofgames.com/db_Parker_Brothers/PDF_Rules/db_Citadel_Rules.pdf
I added CSS to rotate the Interactive Diagram -45 degrees to match the original diagram. I then modified /cgi-bin/fen2.php to remove the extension of p (for piece) when t (for theme) has a non-empty value so that it can more easily be used with Interactive Diagrams, and I used this to rotate each piece 45 degrees. This counters the -45 degree rotation of the board, making them all appear upright.
That's… oddly disconcerting, at least at first. But very cool
I added CSS to rotate the Interactive Diagram -45 degrees to match the original diagram.
Cool! I did not know that CSS could do that.
I don't quite understand your remark about the p extension, and why this would have to be coupled to the use of a theme. If the Diagram appends an extension, it is because you asked it to do so with graphicsType=gif. That makes it add .gif to the image URL. If you would specify an empty string (graphicsType= ) then it would not append anything (and even omit the dot that normally separates the filename from the extension). If you would leave out the graphicsType line altogether it would use a default, which I don't remember, but will certainly not be an empty string.
If you would specify an empty string (graphicsType= ) then it would not append anything (and even omit the dot that normally separates the filename from the extension).
I didn't know that. I commented out my code, and got no piece images when I reloaded this page. I then updated this page to use graphicsType=, and I saw the pieces again when I reloaded.
But I am wondering if fen2.php can be used with file names that include file extensions. When I tried omitting t and assigning p to an URL, whether full or relative, it didn't show an image.
7 comments displayed
Permalink to the exact comments currently displayed.