jsEPD2diag - an EPD string viewer/editor JavaScript
Copyright (c) 1998-2002 Manfred Rosenboom (maro)
This JavaScript is FREEWARE.
(see the licence for further details)
How To Use This JavaScript
The purpose of this JavaScript is to visualize EPD strings, entered (copied) in the text box and
to build own positions.
Visualization Of An EPD String
Enter the EPD string into the text field, labeled "Enter EPD String", eihter by typing in the
string manually or just by pasting the EPD string from the Windows clipboard into the text field.
Click on the button "Set Board" and you will see the board position, related to the entered EPD
string.
Creation Of Positions
Just select (click on) a piece to the left or right of the board and than click on the field, you want to
position the piece. If you want to move a positioned piece on another square, first click on the
piece and then click on the new field. You can delete a positioned piece by clicking two times on
the piece. Each time you change the board, the EPD string will be automatically updated.
Icons
|
Rotate pieces on board 90 degrees to the left |
|
Rotate pieces on board 90 degrees to the right |
|
Switch colors |
|
mirror pieces on board at the horizontal middle line |
|
mirror pieces on board at the vertical middle line |
|
mirror pieces on board at left diagonal line |
|
mirror pieces on board at right diagonal line |
|
open this file |
Further Options
In the "Select further options" selection box, you can select one of the following
commands:
- Clear Board
Remove all pieces from the board.
- Initial Position
Create the initial game position on the board.
- Validate Position
Do some simple checks, whether the position might be a valid position or not.
- Create HTML Table
Create the HTML table source code for the shown position in the text area
labeled "HTML Output" below the board. You can copy the shown code
via the Windows clipboard into your own application.
- Create Diagram
Open a new browser window with the diagram. This function works only with an open
online connection, because the PHP script
http://www.marochess.de/php3/epd2html.php3
is called. In the HTML output textarea the related HTML code will be displayed.
- Create IFRAME Diagram
Open a new browser window with the diagram. This function works only with an open
online connection, because the PHP script
http://www.marochess.de/php3/epd2html.php3
is called. In the HTML output textarea the related HTML code, embedded in an inline
frame HTML tag (IFRAME tag), will be displayed. This version can be used, to
display the diagram in a HTML page, instead of opening a new HTML page.
- Load Positon to EGTB
Send the actual position to an external endgame table base (EGTB) viewer:
EGTB viewer: http://chess.jaet.org/cgi-bin/egtb
- Open EPD2HTML Form
Opens the EPD2HTML Form in a new window. This
HTML form allows the most flexible control over the
http://www.marochess.de/php3/epd2html.php3
PHP script.
- Open EGTB Viewer
Opens the EGTB viewer in a new window.
- Show README File
Show this file in a new window.
Valid Positions Only Checkbox
HTML output and HTML diagram window will only be created/opened for valid positions, if this box is checked
(default).
|