The Flash object filling all of the div and not allowing the onClick of the div to go

Discussion in 'JavaScript' started by Betty_S, Jan 15, 2007.

  1. #1
    Hi folks!

    I have a div with a Flash object in. when you click the div it supposes to disappear but it doesn't because the Flash object.

    The Flash object filling all of the div and not allowing the onClick of the div to fire
    How can I go around it (without making the div bigger then the Flash object)

    Have an idea?:confused:

    Thanks.:)
     
    Betty_S, Jan 15, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    I would modify the FlashObject embed code to apply the onClick event rather than you doing it first. When the FlashObject code gets executed, your Div elements are removed and the flash embed code is placed inside. Just append the onclick code after the embed code occurs in the flashObject JS file :)
     
    ccoonen, Jan 15, 2007 IP