variationcolor = "colordef"
The variationcolor command is used to set the color for writing the last variation move played under the board. This is only used if movelinks has been set to on. When a variation move is played, or clicked, the move will be written under the board in the board caption using the variationcolor. Ideally this color should match the color you have chosen for your variation moves in the CSS file, but it does not have to match. (See Palview and CSS for more details about variation moves and CSS.) Here is an example using the default color green. Notice that the move is written under the board using the color green. ![]() To change the variation color, you must set the color in the variationcolor command and then have Palview create a new Html file for you. Ideally, we would like to be able to allow webmasters to be able to set the variationcolor from within the CSS file, but we have not been able to find a suitable way to do this across the IE4+ and NS6 browsers. If you know of a way to do this, and would like to contribute your idea to Palview, we would love to hear from you! |