iframe onclick or transparent click through?

Discussion in 'Javascript' started by ryanmhuc@yahoo.com, Apr 10, 2009.

  1. Guest

    I need to capture a onclick or onmousedown event on an iframe. Is
    there either a way to

    1) Attach a onclick or onmousedown event to an iframe
    (obj.contentWindow.document.onclick does not work)?
    2) Place a transparent object above it like a DIV and capture that
    click but allow the click to flow through to the iframe?

    Any solutions would be greatly appreciated! Thanks
    , Apr 10, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wim delvaux
    Replies:
    2
    Views:
    1,086
    wim delvaux
    Jul 18, 2005
  2. Michael Laplante

    IFrame transparent backgrounds in IE

    Michael Laplante, May 27, 2006, in forum: HTML
    Replies:
    1
    Views:
    7,246
    Steve Pugh
    May 27, 2006
  3. mogwaii
    Replies:
    9
    Views:
    2,518
    mogwaii
    Dec 8, 2010
  4. gsb

    iFrame - Transparent background.

    gsb, Jan 9, 2004, in forum: Javascript
    Replies:
    3
    Views:
    151
    Thomas 'PointedEars' Lahn
    Feb 12, 2004
  5. Daedalous
    Replies:
    3
    Views:
    660
    Daedalous
    Jan 16, 2004
Loading...

Share This Page