Also, I neglected to mention, that even better than using JavaScript
(which may be disabled by many), you could use a pure CSS tooltip, but
this might have its own difficulties in some browsers still, as well as
needing some positioning tricks that might not always be easy to implement.
Brett
Dr. Claus-Peter Becke wrote:
> hello all,
> i have the following problem: i would like to show footnotes as
> explanations of a text in a small tooltip window upon the text. to
> illustrate the problem you could think of the example of picture
> insertion in a html document. in html you have the chance to print
> alternative text supposed your picture can't be displayed. there's a
> small window which is opened upon your document's text instead of the
> picture intended. i don't know of how to annotate and to transform
> this in tei. i'm working with tei-xml and xsl-templates built in
> oxygen. in my opninion it could be possible to use the note-tag to
> insert an explanation to a special concept in a text which explains
> the concept.
>
> here's an example of what i mean: ... <p> ...<hi> tei </hi> <note
> n="1"> text encoding initiative </note> is a very interesting
> initiative and <hi>oxygen </hi> <note n="2"> a fine editor </note> ...
> </p> ... using an xsl-stylesheet to transform the xml-document to html
> there should be produced the result that in case of moving the mouse
> over the highlighted text 'tei' to print in a small tooltip-window
> over the text 'text encoding initiative'.
> best regards
> claus-peter
>
|