"Paweł" <pm**@op.pl> wrote in message
news:16****************@www.okozaoko.pl...
I'm desinging a graphical interface and I frequently
take advantage of the double click event. Unfortunately in most browsers
double clicking also involves selecting and I would like to avoid that
since whatever is selected has dark blue background and white letters what
spoils the whole visual effect.... Any way I can block it por avoid it?
In the body tag, use the ondblclick event to focus an insignificant form
element:
<body ondblclick='document.forms[0].elements[1].focus()'>
I can't be selected with a double click.<BR><BR>
<form>
<textarea cols=30 rows=2 >Just try selecting me with a double
click...</textarea>
<input type=text size=1>
</form>
</body>
--