Closed Thread Icon

Preserved Topic: marked or highlighted text (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18188" title="Pages that link to Preserved Topic: marked or highlighted text (Page 1 of 1)" rel="nofollow" >Preserved Topic: marked or highlighted text <span class="small">(Page 1 of 1)</span>\

 
911
Paranoid (IV) Inmate

From: Stuttgart, Germany
Insane since: Apr 2001

posted posted 08-15-2001 12:51

hello asylums!

i want to put some text of a html-page, which i have marked with the mouse, into a variable.

there is a german site(http://www.mrcheck.de) which uses this functionallity. you can mark a word in the text, click on a button and you get the explanation for the marked word.

thx all!

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 08-15-2001 13:30

Well, not being able to read German, this sounds like Smart Tags. They use it at MSNBC.com as well. Microsoft just dumped that from Office XP and Windows XP.

911
Paranoid (IV) Inmate

From: Stuttgart, Germany
Insane since: Apr 2001

posted posted 08-15-2001 14:17

hm, sorry for my bad english. i think you misunderstand my question. i was not talking about Smart Tags. I was talking about JavaScript.

Goto Mr.Check(www.mrcheck.de) mark a word with your mouse and click a the logo(!). you will get the description of the word.

How tdoes this work?

keystroke
Nervous Wreck (II) Inmate

From: TX, USA
Insane since: Jun 2001

posted posted 08-15-2001 16:30

The javascript command document.getSelection() may help you.




[This message has been edited by keystroke (edited 08-15-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-15-2001 17:22

Read the complete explanation and how to do this in NN and IE here: http://www.webreference.com/js/column12/index.html

911
Paranoid (IV) Inmate

From: Stuttgart, Germany
Insane since: Apr 2001

posted posted 08-15-2001 17:38

yeah, that´s it!

thx keystroke, thx max!

« BackwardsOnwards »

Show Forum Drop Down Menu