Artigos Sobre Saúde - William Hill Vouchers - Self Improvement Articles Directory - Debt Consolidation - Debt Consolidation

PDA

View Full Version : Need to run an onclick on a div with iframes and flash


jpigford
Oct 3rd 2007, 12:55 pm
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 (http://www.webdeveloper.com/forum/showthread.php?t=136204)), 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?

codyrockx
Oct 3rd 2007, 1:44 pm
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.