DHTML is a pain in the ass

I have to say that every time I try to do a little DHTML, I start to curse the world. I found a neat little Javascript function that finds the position of an element, which makes it handy to position another element on the page relative to that one.

It works like a champ... in IE. It doesn't work in Firefox. The weird thing is that it doesn't throw any kind of error in the Firefox Javascript console either.

Stuff like this makes it amazing to me that anyone ever gets ajax stuff to work in most browsers.

3 Comments

Comments have been disabled for this content.