I'm trying to track clicks on content that is within a div. Unfortunately that content will usually contain an iframe or flash or both. I've tried doing one div as an overlay over the iframe (as suggested here), but that pretty much kills anything under the overlay...meaning users can't actually click through to what is in the iframe or flash. So, any ideas on how to pull this off?
Why not add the onclick onto the iframe or object layer? To have an actual div layer return an onclick the click area is going to cover up anything beneath; that's unavoidable.