Quantcast
Channel: stoimen's web log » problem
Viewing all articles
Browse latest Browse all 6

Google Adsense, iframes and IE

$
0
0

What a lovely combination

Recently I wrote an article about the Google Adsense problem with page load blocking and than the solution was simple and elegant. You must put your ad in a separate .html file and to include it into your page with an iframe. That gives the page the ability to “breath” and to load faster.

You can see the entire article here.

When everything’s OK, wait for the IE

Yes as usual every browser loaded the iframe correclty, except … IE. Both 6 and 7. What was the problem of that lovely browser? Just as I mentioned in my previous article, I put the Google generated code chunk in a .html file and include it with an iframe.

So far so good. But was actually stoped in on IE. All the developer plugins of IE were incapable of helping me.

Finally the solution

The solution itself is so strange and stupid. The file you include your ad banner should be named “index”. If you have three ads on your page, and three iframes you must include three index.html files, obviously from different directories. That finally made IE working as the other world.

Related posts:

  1. Google Adsense blocks the page load
  2. Scroll an IFRAME Content to a Predefined Position
  3. remove iframe border on IE
  4. Manage JavaScript and CSS includes within Zend Framework application

Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images