<div id="Recent" style="visibility: hidden; background-color: #ff00ff; width: 100px; height: 100px;"> </div>So, there is nothing inside that div. There are no child elements. So, this avoids any potential conflicts in the target because it is just the div.
oToolbarTR.onmouseout=function(e) {ToolbarOnMouseOut(e)}And, the onmouseout function is like this:
function ToolbarOnMouseOut(event) { var e=event.toElement || event.relatedTarget if (e) { alert(e) } if (event) { alert("Event") alert(event) alert(event.region) alert(event.relatedTarget) }Basically, as soon as the cursor touches the color region, the mouse out is called: