<HTML>
<HEAD>
<TITLE>hilite, double-click etc. </TITLE>
</HEAD>
<BODY>
<FONT FACE="Lucida Grande">Just as you (and I) though we were done... :) &nbsp;I need one more twist added to my code, and then I can actually sit down and finish translating some 30,000 words from the novel that I&#8217;m preparing for my students. &nbsp;<BR>
<BR>
The code, as stated before, is simple:<BR>
<BR>
on mouseUp<BR>
&nbsp;&nbsp;select the clickText &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;put the clickText into tClickedWord &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;put the cForms[tClickedWord] of this stack into fld &quot;Translation Display&quot;<BR>
&nbsp;&nbsp;put &quot; &nbsp;&quot; after fld &quot;Translation Display&quot;<BR>
&nbsp;&nbsp;put the cTranslations[tClickedWord] of this stack after fld &quot;Translation Display&quot;<BR>
&nbsp;&nbsp;set the textStyle of word 1 of fld &quot;Translation Display&quot; to bold<BR>
&nbsp;&nbsp;set the textStyle of word 2 of fld &quot;Translation Display&quot; to italic<BR>
end mouseUp<BR>
<BR>
I would like to be able to add certain grammatical and stylistic explanations which would not be linked to particular words, but rather to some difficult phrases, metaphoric expressions etc. &nbsp;So, I wonder if one could turn some chunks of text into links which would get highlighted with mouseOver (as in Revolution Documentation) - pointing thus that there is a note attached to that phrase (not all sentences will have them, of course) &#8211; and THEN have the link activated with a control-click or double-click &nbsp;(since single click should be reserved for individual words), displaying the note in the field &#8220;Translation Display.&#8221;<BR>
<BR>
Awaiting a kind response in fear and trepidation...<BR>
Yours truly,<BR>
T.<BR>
_____________________________________<BR>
Toma Tasovac<BR>
Princeton University<BR>
Department of Comparative Literature<BR>
318 East Pyne<BR>
Princeton, NJ 08544<BR>
<BR>
ttasovac@princeton.edu<BR>
ttasovac@post.harvard.edu<BR>
</FONT>
</BODY>
</HTML>