I think Lev's talking about giving the user the choice of which set to see: push a button for Alfaerie, another for Galactic, another for Greenwade, another for Grigoriev, etc., as is done on many Interactive Diagrams
I have done this in two different ways. For Ultima, I have had the button change multiple values with code like this:
Since three of these sets used pieces from the same directory, I wrote it differently each time to force a complete change of values, as it will not update some values unless graphDir changes its value.
With Fischer Random Chess, I have used /play/pbm/showpiece.php with different Game Courier sets, using this code:
I specified the size for sets whose images come in varying sizes matching the actual image. With this information, it will pad smaller images to match the desired size, which makes them work better as background images.
I have done this in two different ways. For Ultima, I have had the button change multiple values with code like this:
Since three of these sets used pieces from the same directory, I wrote it differently each time to force a complete change of values, as it will not update some values unless graphDir changes its value.
With Fischer Random Chess, I have used /play/pbm/showpiece.php with different Game Courier sets, using this code:
I specified the size for sets whose images come in varying sizes matching the actual image. With this information, it will pad smaller images to match the desired size, which makes them work better as background images.