views:

32

answers:

1

Does anyone know how to make a live text highlighter in javascript/jquery? with most script ive seen, you have to select the text first then click highlight. how does diigo.com do it?

A: 

Simple javascript can not provide functionality like diigo.com. You need to write browser plugins.

This type of plugins are called BHO (Browser Helper Object) Creating BHO need some experience and understanding of COM.

See the examples below

Exaple 1

Exaple 2

Example 3

Manjoor
Looks very IE specific to me.
Felix Kling
the chrome plug in is based in javascript right?
Lisa
@Lisa: I think mostly. Same as for plugins for Firefox: JavaScript and some way to define the UI (in this case XUL).
Felix Kling