Archive for July, 2005

Stop-Reload-Button in Firefox

Saturday, July 30th, 2005

One nice little extension I usually install on Firefox is an extension that merges the reload and stop button. It hides the stop button when it is disabled and shows the reload button when the stop button is not available. However, the extension is not compatible with DPA2 or the latest nighlies.
After installing and uninstalling [...]

Some Real IE7 News

Saturday, July 30th, 2005

I guess you all seen and maybe even tried Internet Explorer 7 Beta 1 by now. To me it wasn’t very surprising. Dissapointing? Yes.
Well, according to Chris Wilson, the following bugs have already been fixed and we’ll see them in beta 2:

HTML 4.01 ABBR tag
Improved (though not yet perfect) <object> fallback
CSS 2.1 Selector support [...]

Screen Readers Suck

Tuesday, July 19th, 2005

There has been some mumbling about accessibiliy and javascript for quite some time now and today I read the following at the DOM Scripting Task Force blog:
It’s also all but impossible for some applications, such as Google Maps. In fact, after some preliminary testing our own Derek Featherstone was so dismayed by the state of [...]

DOM Scripting Task Force

Monday, July 18th, 2005

I guess you’ve all seen the DHTML… ehmm… DOM Scriptiping Task Force over at The Web Standards Project by now. It’s about time someone realized that DHTML is not just An outdated scripting technique that is mainly characterized by the changes it makes to the style properties of certain elements, and by the use of [...]

JS: The Good, the Bad and the Ugly

Thursday, July 14th, 2005

An article comparing JScript and VBS got me some ideas about what I think should be added to JS 1.6.
Date
I like the Date object in JS but it needs a lot of improvements. These following things are really missing:

Localized weekday name
Localized month name
Week start day
Week number (localized because it is not the same all over [...]

And and Or in JS

Monday, July 11th, 2005

The logical and (&&) and the logical or (||) are two really useful operators in JS. The following holds true:

a || b results in a if Boolean(a) == true, otherwise b
a && b results in b if Boolean(a) == true, otherwise a

Using this one can often simplify expression a lot. For example:
var el = e.target [...]

Live 8 and EU

Tuesday, July 5th, 2005

To me something is really wrong with this world… We have these sharity concerts and what not. At the same time the EU subsidizes the European farmers to produce meat, dairy products, crops and other vegetable products to an absurd extent. The European farmers produce a lot more food than Europe needs and to prevent [...]

MSE - Microsoft Script Editor

Monday, July 4th, 2005

Microsoft Script Editor is probably one of the lesser known tools that can really make a difference when it comes to developing web applications. MSE is a debugger, much like Visual Studio and it comes bundled with Microsoft Office. It should not be mistaken for Microsoft Script Debugger which is a piece of crap compared [...]

DOMParser for IE and Safari

Sunday, July 3rd, 2005

A few days ago Dave over at the WebGraphics blog posted about how to parse a string into a DOM tree for Safari.
I commented “How about implementing the DOMParser object in js?” and before I knew it I did it myself and adding IE compatibility on the way:
if (typeof DOMParser == “undefined”) {
[...]

XSLT in JS

Sunday, July 3rd, 2005

I know this one is not too new but is still very interesting.
Steffen Meschkat has created an XPath, XSLT and DOM engine written in pure javascript. Steffen works for Google and I believe this excellent piece of code was written in his 20 percent time to allow Opera and Safari to work with Google Maps.
My [...]