Content

Download

Installing the HTMLTTChess Package

How to view pages generated by HTMLTTChess

To view pages containing chessboards generated by HTMLTTChess, you simply need to:

See the compatibility section or the Chess Merida Unicode page for more information.

How to create pages with HTMLTTChess

Quickstart

Browser/OS Compatibility

Here we come in the nice world of standardization. HTMLTTChess uses a mix of tables, Unicode, Javascript and Cascade Style Sheets to layout the chess boards correctly. All pages are valid XHTML 1.0 Transitional Chess (a custom DTD identical to XHTML 1.0 Transitional but with addition of the custom tag <c:chess>). Also all pages validate as CSS. So hopefully you should be able to see these pages correctly using any Unicode-, Javascript- and CSS-compliant browser. If you have issues with chessboard rendering in color mode, you may want to give a try with B&W mode, which is much simpler to render and makes almost no use of stylesheets.

The sample page shows how it is possible to display a button on the page to switch between both modes. You may reuse this code in your own web pages so that to let the visitor chooses which mode he prefers to use. A nice extension would be to also store this preference in a web cookie so that the preferred mode is automatically restored at the next visit.

The table below contains the pairs of browser/OS that I personally tested with this script, all giving excellent results in both color and black&white modes:

Linux

The script has been successfully tested under OpenSUSE 10.2 with the following browsers:

  • Opera 9.2x
  • Firefox 2.0.0.x
WinXP SP2

The script has been successfully tested under Windows XP SP2 with the following browsers:

  • Opera 9.2x
  • Firefox 2.0.0.x
  • IE 6, IE 7
Win2K

The script has been successfully tested under Windows 2000 SP3 with the following browsers:

  • Opera 9.2x
  • Firefox 2.0.0.x
  • IE 5
Macintosh

Not tested. May be did?

© Copyright 2007 (http://mip.noekeon.org).

Last modified on

Free PHP scripts for download Visit W3Schools Valid XHTML 1.0 Transitional Chess Validate Anti-Spam