csam0003
04-06-2009, 03:08 PM
Hi,
I am creating an extension in firefox. The user selects some text and when he/she clicks a button, a set of span tags are inserted around that selected text.
I am trying to implement, that when the user hovers over that selected text, it get highlighted again (preferably a differnt color) - very similar to when the user clicks and drags the mouse over some text.
This way I can use the getselection function to get the text the user hovered over.
any ideas?
Kind regards
Chris
I am creating an extension in firefox. The user selects some text and when he/she clicks a button, a set of span tags are inserted around that selected text.
I am trying to implement, that when the user hovers over that selected text, it get highlighted again (preferably a differnt color) - very similar to when the user clicks and drags the mouse over some text.
This way I can use the getselection function to get the text the user hovered over.
any ideas?
Kind regards
Chris