playground/tunage

Since I’m now a proud musikCube user I thought I would use one of its nice feature, called Tunage, to display the currently playing song here on my weblog. It sounded fun and most importantly small enough to do in a few hours. I had a pretty clear view of what I wanted in the ...

InnerHTML is Evil

The usage of innerHTML is most likely the most widely spread non standardized DOM feature available today. It was introcuded in IE4 back in 98. Setting innerHTML parses the string as HTML and replaces the content of the element with the nodes generated by that HTML string. Very useful indeed. But like most things, innerHTML ...

Tips, Tricks and Recommendations

I think I came up with quite a few good subjects to cover here at my weblog. I will be posting tips, tricks and recommendations covering JavaScript, DHTML as well as designing APIs. These are all of course my personal views and based on experiences from both WebFX, WebOS, Bindows as well as from my ...

Opera adds SVG Support

Opera has added support for SVG in their browser. Their mobile browser, that is. Since Opera is using the same code base for Windows, Unix, Mac as well as lots of mobile platforms it would not surprise me if we would see this being added to their desktop browser as well. With Mozilla 1.8 having ...

IE7 Beta

I think you have all seen the news about the Internet Explorer 7 beta which is planned for the summer. Nothing has really been said about it more than it will include some anti spyware technology. Meaning: IE6 + Microsoft Antispyware in one and the same installer Seriously, I wonder what it will include? Will ...

DHTML Universe

Alex Russel of netWindows fame, has created a graph containing people in the DHTML Universe and how these relate to each other. Very nice work.

Delegates in JS

I think we’ve all made the mistake while we are doing OOP in JavaScript with this not pointing to what we expected. this.obj.onfoo = this.handleFoo; In the code above this inside handleFoo would point at this.obj and not at this. This is usually worked around with the cumbersome code: var self = this; this.obj.onfoo = ...

Bindows Developer?

The following is available in Swedish only but we don’t really care whether you know Swedish or not: Intresserad att jobba med Bindows? Vi har nu annonser ute pa Computer Swedens hemsida Utvecklare Programmerande Teamledare

Interview with Emil

Me and Emil had the honor of being interviewed by Scott Barnes at MossyBlog.com. I really enjoyed reading Emil’s answers even though we have discussed these questions before so the answers were not really any suprises. ps. I cannot believe I forgot to mention SVG. Another interesting subject would also be to write something about ...

Simple HTML Parser

I’ve been searching high and low for a simple HTML parser. I need a simple HTML parser, written in JS, that has a SAX like interface so that I can filter out potentially unsafe content. I’ve looked at existing Perl, Java, C (and more) parsers but they are either too much or rely to much ...