🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.reader
Article #499

How to highlight the currently selected text on mouse event

#499
From: mandal.tanmay
Date: Fri, 10 Feb 2006 11:52
21 lines
1745 bytes
hi everybody,

                  I want to add highlight annotation to the currently
selected text on mouse event.
I have tried executing java script on mouse up event through "Advanced
menu-->Advanced Editing-->Text Field tool".But it works only when,
"read only" property is not checked, but in this case I can not select
any text.If I check "read only" property, then I am able to select the
text but now no mouse event fires.
Is there anything wrong?


Can anyone pls suggest me how to add highlight annotation to the
currently selected text on mouse event through javascript.


Thanks in advance. 


regards 
Tanmay Mandal
Technical Details
Message-ID: <1139572326.729439.165480@g47g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 109513,a852c1fc009a4ca8,start
X-Google-Attributes: gid109513,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail
From: mandal.tanmay@gmail.com
Newsgroups: adobe.acrobat.reader
Subject: How to highlight the currently selected text on mouse event
Date: 10 Feb 2006 03:52:06 -0800
Organization: http://groups.google.com
Lines: 22
Message-ID: <1139572326.729439.165480@g47g2000cwa.googlegroups.com>
NNTP-Posting-Host: 203.122.33.227
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1139572331 8782 127.0.0.1 (10 Feb 2006 11:52:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 10 Feb 2006 11:52:11 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; DigExt; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g47g2000cwa.googlegroups.com; posting-host=203.122.33.227;
   posting-account=GnDmHw0AAAD95NvtfdsRVroqZJYbpzK3