Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Experimental Tablebase webserver online -- HTML problems

Author: Lex Loep

Date: 22:49:29 03/20/01

Go up one level in this thread


On March 20, 2001 at 18:07:57, Heiner Marxen wrote:

>On March 20, 2001 at 16:05:11, Lex Loep wrote:
>
>>On March 20, 2001 at 14:44:44, Heiner Marxen wrote:
>
>>>(2) The move list appears hardly readable.
>>>    I do not know about the TEXTAREA tag, but I would have used PRE.
>>
>>I just tried it with PRE but that does not give me a scroll bar.
>
>Sure, PRE does not give a scroll bar.  My browser already has one, so I
>would not have missed one.  I suspect, Netscape does interpret TEXTAREA
>only inside of an FORM attribute.  My Textarea looks like:
>
>Request 26: position:
>-M11 Moves: a3-a2
>-M10 Kh7-h6 -M7
>Kh7-g7 -M7 Kh7-g8
>-M7 Kh7-h8 -M7
>
>It is in proportional font, and I cannot even cut and paste it
>(I had to retype the above).


Here it is a list with one move per line and a scrollbar. I want a
scrollable area just next to the board. I am open to suggestions.


>
>I just looked into some online HTML documentation:
>- The TEXTAREA attribute READONLY is implemented in MS-IE 4.x, but not in
>  Netscape 4.x.  Therefore putting it into the form may not have the
>  wanted effect.
>- The STYLE= inside the INPUT tag does not work.  My input field has a
>  default width of 20 characters (size in pixels changes with font size).
>  The documentation gives the hint that Netscape does not like blanks
>  inside of Style-Values and tends to ignore them then.  Uuh  :-(
>  Seems to happen here.
>  Anyway, why do you specify pixels, and not just size=NN, which works with
>  any font size?
>
>>>(3) The FEN input field is too small.
>>
>>Looks ok here, still made it a bit wider.
>
>see above
>

I will check this later today.


>>>You may want to use a HTML validator, e.g. http://validator.w3.org
>>>Once it works, it will be great!
>>
>>Thanks for your input.
>>
>>Lex
>
>I know how hard it is to produce good HTML, I've done that at work.
>And I like to share what I know ;-)
>
>Just found another glitch:  your FEN parser appears to ignore the slashes,
>i.e. it interprets: k1K/8/1Q6/8/8/8/8/8 as k1K5/4Q3/8/8/8/8/8/8
>A slash should force the start of a row.  Otherwise you should document,
>how you interpret your result.
>

Your are right, I made a Q&D fen parser in VBScript and its just ignoring
the slashes. Well it was a sunday afternoon project :)

>Anyhow, you should output the normalized effective FEN of what you show.
>Not the string the user gave, but the normal form (what you think it means).
>
>Yet another hint: you could offer a clickable URL for every move in the list,
>to follow that move. Provided you do not do it as a textarea.
>(I have made my own local FEN viewer as a CGI script, and there I did it
> as a selection list that overrides the FEN text input, but that can be
> counter intuitive, when both are given.)
>

That would be very nice indeed, I was also thinking adding some javascript
to allow to drag the pieces on the board but your suggestion looks easyer
to make.

>BTW: I like the board design.  Graphics, colours & size are fine for me.
>
>Thanks for your efforts to serve the public!
>

Thans for your feedback.

Lex


>Heiner



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.