|
|
|
|
| Basics of Bridge HTML: index | ||
Acknowlegement
Macros for Bridge-HTML
Write a bridge-article in a blank "Web-document", using
the diagrams (just cut and
paste) and macros
that you need.
Start by pushing the Bridge-HTML button (pack of cards,
name: "webbridge"), now Word will create a new HTML-document and ask you
to save it (save in the right directory, i.e. the directory where you put
the Card Symbol.gifs, this is very essential as Word will now know where
the gifs are.)
Take care of placing the![]()
![]()
![]()
-pictures
in the directory that you use to save your document
and copying the macros to "Normal-Newmacros". (You can ask for a copy of
my Normal.dot, which places 4 card-symbol
buttons and the bridge-HTML-button to your bar).(My
Word-version is Dutch, I'm afraid. The macros are in VBA (English)
though)
I use MS Word 97, but MS Internet-assistant
can be integrated in Word for Windows 95.
In a "plain" document I use the other macros by inserting
a symbol.
Next to my macros for bridge-HTML I have found a way to
convert bridgedocument-formats of (any) wordprocessor to Bridge-HTML including
the cardsymbols using Word for Windows(97).
Simply convert the document to a Word-file, then into
a HTML-document (still the symbols (font:symbol) are on the screen, they
will only disappear after conversion to the source-code).
Now select the entire document and "change" the font
into a general font like Times New Roman or Arial.
What you will see now is the replacement of your carefully
selected symbols by:
: ª (ALT 0170);
:
© (ALT 0169);
:
¨ (ALT 0168);
: §
(ALT 0167).
Don't panic, save your document and choose HTML (source-code).
Find ( ª , © , ¨ or § ) and replace
(by the HTML image-description) (Word function) the named symbols into
their HTML-description
i.e.:
,
§: <IMG SRC = c.gif ALT ="C:">.
NB: Take care of saving the HTML-document in the same directory where you put the Card Symbol.gifs.
| [Diagram ] [Font] [ Bidding ] [ Image ] [Characters ] [ Macros ] [Top] |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

This is not the result of the URL location in Greece but
a mere difference in "symbol-interpretation" by Netscape Composer and Word
'97.
I have adjusted the table
for faster navigation filling out the hands using <TAB>, <SHIFT-TAB>
and <UP>, <DOWN> etc.
I took care of red hearts and diamonds and a standard
black font.
Since you do not know about the fonts installed on the
end-user's computer, the use is not recommended on the WWW (see below).
| Reaction from Henk Uijterwaal in RGB
(20-09-1998):
No, it works in Netscape or MSIE when the program is run on Intel x86-
based processor hardware, the operating system used is the one sold by
a large Seattle-based software vendor and assuming that the symbol font
is installed on the machine. It does NOT work on other combinations
of hardware and software, nor is guaranteed that it will work or that the
The HTML standard specifies a standard character sets and a set of symbols (&xxx;) that any browser should be able to show as something readable. The suit symbols have not yet been included, so those should be included as GIF's (<IMG SRC="c.gif" ALT="C:">). If you want to be sure that your pages can be read by everyone, why not simply stick to the standards? I have 4 little GIF's for the suit symbols, their total size is less than 1 kb, so the loading time is small even when using a slow modem. Henk |
| Reaction from Kent Burghard in RGB
(20-09-1998):
I am the webmaster for the ACBL. I put more bridge hands on the internet than anyone. I always use a very small graphic for the suit symbols with an alternate text for those who do not use graphics. I also modified the bulletins from Lille and placed them on the ACBL web server. Of course, I eliminated the symbol font from the HTML since the working of that approach requires that the end-user have that font installed on their computer. Can't make that assumption. In the US there is a company now that allows people to access the internet from their television set (called Web TV) and you can bet that those people do not have fonts installed (since they have no computer). Kent Burghard
|
| [Diagram ] [Font] [ Bidding ] [ Image ] [Characters ] [ Macros ] [Top] |
| <IMG SRC = s.gif ALT ="S:" |
| <IMG SRC = h.gif ALT ="H:" |
| <IMG SRC = d.gif ALT ="D:" |
| <IMG SRC = c.gif ALT ="C:" |
Images: produced by macros for HTML-documents (in source-code).
<IMG
SRC="s.gif" WIDTH=13 HEIGHT=11 [macro]
<IMG SRC="h.gif"
WIDTH=13 HEIGHT=11 [macro]
<IMG SRC="d.gif"
WIDTH=13 HEIGHT=11 [macro]
<IMG SRC="c.gif"
WIDTH=13 HEIGHT=11[macro]
| [Diagram ] [Font] [ Bidding ] [ Image ] [Characters ] [ Macros ] [Top] |
<Symbol©
<ANSI © [macro]
<Symbol¨
<ANSI ¨ [macro]
<Symbol§
<ANSI § [macro]
| [Diagram ] [Font] [ Bidding ] [ Image ] [Characters ] [ Macros ] [Top] |
|
|
|
|