Click to See Complete Forum and Search --> : manipulating mouse buttons


sgebbie2
03-05-2003, 04:33 PM
is there anyway to trigger a doubleclick from a single click??

if i click on a word, i want it to be highlighted (same as doubleclicking on it),
I can change my mouse buttons in control panel but then everytime i change app, i have to change mice buttons.

any help would be appreciated

thanks

dabush
03-05-2003, 04:55 PM
onClick and onDblClick

<span onClick="doClickStuff();" onDblClick="doDoubleClickStuff();">TEXT HERE</span>

sgebbie2
03-05-2003, 05:10 PM
no, but thanks
with that I still physically have to doubleclick.

for example if i click once on a word, i want it to be highlighted, because then another script can process the highlighted text.

I cant modify the text (result of an export), so my only option is to add <body onclick="processHighlightedTextFunctions()">

and firing the function from a single click is much preffered