I have some div's which have events assigned to them. I have noticed when I comment out the onmousemove the swapBlocks function is triggered properly, but having onmousemove assigned to the parent div seems to kill any nested events. Also if I "unnest" the redblock div the onclick triggers normally. Any ideas? The last thing I want to do is write a hitTest function. I'm working strictly in IE5.5+.
<div id="redblock"><img src="images/spacer.gif" border="0" width="15" height="15" /></div>
getElement("interrClip01").onmousemove = moveCrosshair;
getElement("redblock").onclick = swapBlocks;
// getElement is a custom function just returning document.getElementById().