web developing
10 Jun
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.
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.
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:
One Response for "Google Adsense, iframes and IE"
Great, thanks so much!
Leave a reply