We are trying to detect when an ad is clicked. But the ads are all in iframes hosted on the ad servers sites. We have tried rapping a div but the iframe sits overtop of the div and can't be seen. The only function that comes close is mouseenter but we can't detect when its clicked. This of course has to be cross browser. If anyone has any ideas please let me know.
You could try using Flash object overlay, however, this will only work if your users double click instead of one click: Demo Download
Try this test jsfiddle.net/4vBRe/ To detect only the click on iframe then use mouseover event then blur