Adsense Div Link

Discussion in 'JavaScript' started by dramiditis, May 31, 2010.

  1. #1
    Hi, I put my adsense code in div element. And I would like this div element with adsense to be closed when someone click a link from adsense. is it possible and if is how can be done?

    thanks
     
    dramiditis, May 31, 2010 IP
  2. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #2
    You cannot alter the adsense code in any way - but if someone clicks a link, they leave the site anyway.
     
    mjewel, May 31, 2010 IP
  3. dramiditis

    dramiditis Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    They don't leave page, but go to new tab (_blank target)
     
    dramiditis, May 31, 2010 IP
  4. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #4
    If you have configured your browser that way, but if you are using a standard configuration of ie, when you click a link, it does not open in a new tab - you leave the site which was running the ads.

    You can't alter the adsense code in any way. You can't do anything to entice people to click ads. You would need check with adsense to see if what you are proposing would even be allowed - certainly not if your intent is to get people to click an ad to make a div go away.
     
    mjewel, May 31, 2010 IP
  5. dramiditis

    dramiditis Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Man, I'm making "invideo" ad.
     
    dramiditis, May 31, 2010 IP