I tried the following:
<div style="position:relative; background-color:red; height:300px"> <object data="http://upload.wikimedia.org/wikipedia/commons/c/c7/SVG.svg" type="image/svg+xml" height="300" width="400" style="position:absolute;z-index:1;" onclick="console.log('clickSVG');" onmousemove="console.log('moveSVG');" ></object> <div style="height:150px; background-color:blue; z-index:2;" onclick="console.log('clickDIV');" onmousemove="console.log('moveDIV');"></div> </div>
With the idea that a div located above an object can capture events, but that is not the case. I really don't know why; perhaps you should try to create an entire SVG object in JS and directly bind handlers.
Edit: Sorry for digging up an old post, I realized I'm a little late; Hope this can help someone.
source share