Hi,
In my HTML-file I have a <DIV> that acts like a sort of link (it collapse a block under the link so clicking this "div" will not change a page):
<div onmouseover="ChangeColor()" onmouseout="ChangeColorBack()" onclick="DisplayBlock(1);" style="cursor:hand; background:#B0E0E6; font-weight:bold; margin-top:4px; width:300px; color:#656565;">MyDiscription</div>
But if I click on the <div> and then move my mouse, the text "MyDiscription" is selected after a "onmouseup" and stays selected.
How can I avoid this text being selected?
I already changed "onclick" to "onmousedown" but won't solve my problem,
please help,
Erik <!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->
In my HTML-file I have a <DIV> that acts like a sort of link (it collapse a block under the link so clicking this "div" will not change a page):
<div onmouseover="ChangeColor()" onmouseout="ChangeColorBack()" onclick="DisplayBlock(1);" style="cursor:hand; background:#B0E0E6; font-weight:bold; margin-top:4px; width:300px; color:#656565;">MyDiscription</div>
But if I click on the <div> and then move my mouse, the text "MyDiscription" is selected after a "onmouseup" and stays selected.
How can I avoid this text being selected?
I already changed "onclick" to "onmousedown" but won't solve my problem,
please help,
Erik <!-- My sport: Boomerang throwing !!
This year I will participate at the World Championships in Germany. (!! Many Happy Returns !! -->