iFrame Problem | HELP NEEDED

Discussion in 'JavaScript' started by Baster9, Aug 13, 2011.

  1. #1
    Hello,

    I have problem with iframe and I don't know if it can be fixed or not and that's why I need some advice.
    I want to put Google Ads (Adsense) into an iframe but when I click on them the ads should be clicked and load into the iframe itself.

    Here's an example.

    Go to this page: http://how.appspot.com/frame

    In the filed from the left side of the button frame it!, put this url: goal.com and press enter (or any other that have google ads and some other links)

    After that you will see the site goal.com opened in iframe. When you click on some link (NOT google ads) for example Transfer Zone -> Transfer Home you will see that the link is opening in the frame itself, but when I click on the google ads on the site, it's making a redirect without staying in the frame. Do you think Google is making some blocking or there is some way the ads to stay in the frame after clicking on them?

    Does anyone knows what's the problem and a solution for it?

    I will apprecaite it very very much so please guys try to help me out.

    Thanks in advance.

    Baster
     
    Baster9, Aug 13, 2011 IP
  2. astrazone

    astrazone Member

    Messages:
    358
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #2
    all adsense links have 'target="_top"' so you cant really do anything ...
     
    astrazone, Aug 14, 2011 IP
  3. Baster9

    Baster9 Active Member

    Messages:
    250
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    All Adsense? Adbrite, AdBull, Chitika etc.? Or just Google?
     
    Baster9, Aug 14, 2011 IP