Tag Archives: ie

object and embed tag position in IE

What is OK?

If you’ve written at least once the OBJECT and EMBED tags, without copy/paste you may have been noticed that the place of the EMBED tag is a bit strange. Actually after the OBJECT tag, comes the PARAM sequence, that simply defines different parameters for the flash movie.

And what looks strange?

The strange thing in all this is that the EMBED tag, which in fact is only one, instead of the case with all the parameters of the OBJECT, is displayed just before the closing of the OJBECT tag.

Experimenting …

What if the embed tag is outside of the OBJECT opening and closing tags. Actually only IE understands this as a problem. Than it displays the move twice!

That’s why the place of the EMBED is just before closing the OBJECT tag. In that case MSIE doesn’t “see” the EMBED and displays everything correctly!

debug JavaScript on IE6

The built-in JavaScript debugger

While developing your next site, you’ve may noticed that under IE, specially version 6, it’s very hard to debug any kind of JavaScript code. Yes actually if you’ve configured the browser for that purpose you may get any message, which unfortunately is completely useless. In general the message is something like: “There’s an script error on some line of the code!”, but very often there’s no such line of code or it’s empty or something else. Actually that poor debugger is giving the error by the generated script code which really does not help.

Microsoft Script Debugger

The installation of Microsoft Script Debugger solves this problem. It gives the line and the code, even highlights the error.

Google Adsense, iframes and IE

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 … Continue reading Google Adsense, iframes and IE