bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] HTML export


From: Joern Thyssen
Subject: Re: [Bug-gnubg] HTML export
Date: Thu, 2 Jan 2003 14:05:06 +0000
User-agent: Mutt/1.4i

On Thu, Jan 02, 2003 at 10:59:07AM -0200, Albert Silver wrote
> The following was posted in RGB, regarding the HTML export, but I also
> added a couple of small suggestions of my own,
> 
> >From RGB:
> 
> Another good feature, but two problems:
> 
> 1) "Red to play xx", "Black to play xx" doesn't work if my custom board
> images are, say blue vs yellow.  Can we find a way to add the piece
> colour
> to the html text without going as far as a search/replace "red to play"
> with
> "blue to play," etc?
> 
> AS - I agree this is bizarre. The easiest way to fix this permanently MO
> is to just display the players, and not try to guess the colors. In
> other words, it isn't Red and Black, but simply GNU and Albert.

I posted a reply suggesting exactly this. 

I posted via google which seems to take longer than usual before the
reply is propagated around the world. I usually post using my ISP's news
server which is much faster , but I can't do that at work, err, I mean,
at lunch at work :-)

> 2) The images look great, but on my 1600x1200 they only cover 30% of the
> screen.  Can the skillful team of gnurus add an option to alter the html
> screen size?
> 
> AS - Hmmm.... 1600 x 1200 is very far from the normal, but perhaps the
> PNG size slideruler could also determing the size of the HTML images.

For some technical reasons it's probably only possible to export in
sizes (approx) 432x288, 864x576, 1296x864 etc, so we probably need
another slideruler for this.

> Some personal suggestions now:
[snip]
> +--------------------------------------------------------------+
> |Match to 5   Game 1: Albert 1 - GNU 6 (drop-down)  <--  -->   |
> +-------------+------------------------------------------------+
> |   Moves     |  <-- (navigate move) -->     Statistics (link) |
> |             +------------------------------------------------+
> |42: 8/4 6/4  |                                                |
> |61: 13/7 8/7 |     Board (or game/match statistics)           |
> | etc.        |                                                |
> |             |          Below the board position one          |
> |list scrolls |          can see the stats of the moves        |
> |up or down   |          or cube decisions. Board never        |
> |             |          appears to move making watching       |
> |             |          the games that much easier.           |
> |             |         If the stats are chosen, it shows the  |
> |             |          Stats instead of the board.           |
> +-------------+------------------------------------------------+

A few problems:

(a) it's impossible to print the entire game, match, or session
    within the browser
(b) we have to implement this with JavaScript or ECMA script, which
     (1) is probably browser dependent
     (2) won't work in older browsers
     (3) won't work if the user has disabled javascript
(c) we use frames which won't work in older browsers
    (in general, frames suck, but they may be have a usual purpose here)

Of course, it's possible to make it an option to export in the current
one-game-per-page format so people still can use that.

ad (a): we can't do anything about that
ad (b): it's possible to make some work-arounds for missing or disabled
JavaScript. For example, instead of the game dropdown we can display a
series of links, and the user must live with the fact that the right
hand move list does not automatically scrolls when she clicks on the
"next move" and "prev move" links.
ad (c): we can't do anything about that

Jørn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]