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
Manjoor
2010-06-26 08:53:51
Looks very IE specific to me.
Felix Kling
2010-06-26 08:56:45
the chrome plug in is based in javascript right?
Lisa
2010-06-26 08:57:25
@Lisa: I think mostly. Same as for plugins for Firefox: JavaScript and some way to define the UI (in this case XUL).
Felix Kling
2010-06-26 09:14:30