Showing posts with label IE weirdness. Show all posts
Showing posts with label IE weirdness. Show all posts

Friday, October 09, 2009

Please Set My Attribute

I just found out (probably a few years later than everyone else) that Internet Explorer 6 (IE6) does not seem to implement the functions getAttribute() and setAttribute() correctly. I was not too upset, though, because there is a quick work around: using the functions getAttributeNode() & setAttributeNode() instead.

---
Another thing I just found out is this neat thing called "Itano Circus". It is a style to present a battle scene in a dramatic manner using patterns formed by lines. A line can be a it missile trail, a bullet trail, or even energy trail. Apparently, the style was pioneered by Ichiro Itano. Here is a video to describe how it looks.

I personally think it is a generalized form of Macross Missile Massacre.

Monday, September 21, 2009

A Message from the Past

Hi, my name is FreakedOutProgrammer009 and I come from the past to warn you about the future. Internet Explorer 8 (IE8) actually has 4 rendering modes, not just 2 as you might believe. Please refer to this article, Activating Browser Modes with Doctype, and scroll down to the section "IE8 Complications".

Time is running out and I have to go now. Please remember this message...

Tuesday, June 23, 2009

Using link to trigger click event

I just spent almost a full day (not mentioning past frustrations) to find the cause of yet another strange IE6 behaviour. Here is what happened.

The web application I was debugging uses this:


<a href="javascript:void(0);" onclick="SomeJsFunction();">Call SomeJsFunction</a>

SomeJsFunction shows an iframe that continuously fetches images from a remote source. The link works fine for IE7, Firefox 2, and Firefox 3. Yet with IE6 somehow the iframe does not fetch any image at all. Why? That was the question that causes much debugging frustration.

Thanks to this particular post at dbug, I found out that the cause is that using "javascript" as a pseudo-protocol is apparently a bad thing. An alternative is to use "#". It ends my problem.

However, if you want to go further and be good, this topic at StackOverflow suggests many other, better alternatives.