Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15006

Re: Grabbing words/text under mouse?

From Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.lang.javascript
Subject Re: Grabbing words/text under mouse?
Date 2012-07-10 19:42 +0000
Organization Some absurd concept
Message-ID <eli$1207101533@qz.little-neck.ny.us> (permalink)
References <Q5ydnay5Dr1l5mHSnZ2dnUVZ_j-dnZ2d@earthlink.com>

Show all headers | View raw


In comp.lang.javascript, Michael Joel  <null@void.void> wrote:
> I want to be able to get word definitions to display when a user double 
> clicks a word being displayed.

I've used sites that do this and I find it very annoying. I double
click to select words and I triple click to select a paragraphs.
Usually I do this as a visual bookmark when scrolling, but sometimes
to cut&paste. 

If you want to include a glossary for difficult words, you can just use
<a> links with title text:

 <a title="section of a document that defines words">glossary</a>

Hovering over the word shows the title text. Style as desired.

Elijah
------ 
can't think of a site offhand that still does definition thing

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Grabbing words/text under mouse? Michael Joel <null@void.void> - 2012-07-10 15:01 -0400
  Re: Grabbing words/text under mouse? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-07-10 19:39 +0000
    Re: Grabbing words/text under mouse? Michael Joel <null@void.void> - 2012-07-10 19:46 -0400
      Re: Grabbing words/text under mouse? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-07-11 08:39 +0000
      Re: Grabbing words/text under mouse? Scott Sauyet <scott.sauyet@gmail.com> - 2012-07-12 19:40 -0700
        Re: Grabbing words/text under mouse? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-07-13 07:06 +0000
  Re: Grabbing words/text under mouse? Eli the Bearded <*@eli.users.panix.com> - 2012-07-10 19:42 +0000
    Re: Grabbing words/text under mouse? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-07-10 22:32 +0200
  Re: Grabbing words/text under mouse? Martin Honnen <mahotrash@yahoo.de> - 2012-07-11 13:08 +0200
  Re: Grabbing words/text under mouse? Dr J R Stockton <reply1228@merlyn.demon.co.uk.not.invalid> - 2012-07-11 21:15 +0100

csiph-web