XMLHttpRequest and events

23rd June 2006

In the past I’ve mentioned my confusion about the differing behaviour of certain aspects of the oh-so-trendy XMLHttpRequest object, but now I have access to a couple of non-windows browsers for testing I thought I’d take a look to see how they handle it. Perhaps unsurprisingly they are also subtly different again from IE, Firefox and Opera. Is this what happens when browser makers have to reverse engineer someone else’s feature instead of working with documented standards?

Continue reading “XMLHttpRequest and events” | 2 comments

JavaScript to Embed a Flash Movie

30th April 2006

With the recent changes to how Internet Explorer handles active content, such as Flash, there has been a lot of attention paid to various JavaScript solutions that allow you to continue to seamlessly embed this content into pages. Probably the most popular of which being the pretty neat FlashObject, uh, sorry thanks to Adobe that’s now SWFObject — well, what else would you expect from the people behind the guidelines on the Proper use of the Photoshop trademark. Neat as SWFObject is, one problem with scripts such as this is that they never seem to work in pages served using application/xhtml+xml. I needed a script that did, so here it is.

Continue reading “JavaScript to Embed a Flash Movie” | 2 comments

A run-in with bad browser support

27th March 2006

There are a couple of lesser known CSS display properties, run-in and compact that while probably not the most exciting (or useful) parts of the CSS specifications do still look fairly interesting. Recently I have found a couple of places where the use of run-in or compact would’ve been neater than the workaround solutions I ended up with.

Continue reading “A run-in with bad browser support” | Comments are closed

Opera CSS Fixes

11th March 2006

I just downloaded the lastest Opera weekly (build 8265) to checkout the new acid 2 fixes. Aside from being the first Windows browser to pass Acid2 I was very pleased to see they’ve also made good progress on sorting out the box model for textareas. In the past Opera appeared to include borders and padding within the width and height of the textarea, but not anymore. This fix along with some fixes for offsetWidthLeft and offsetHeightTop means my resizable textareas now look and work as intended. Nice.

Comments are closed

Web Statistics

30th January 2006

Since Google just published their Web Authoring Statistics I thought I’d look back my findings from a few years ago when I looked at markup validity and usage of things like Flash and JavaScript in a small (very small compared to Google’s dataset) random sample of pages. The results — which utilise such complex analytical techniques as adding up numbers and drawing bar charts — are presented here.

Continue reading “Web Statistics” | 1 comment

voice-family: 'Gary Lineker';

26th November 2005

Recently at work I was presented with a football news item to add to our website — Alton College had beaten St Vincent College 3 - 1 to move level on points at the top of the Hampshire College’s under-19 League. As part of the news item there was a league table highlighting Alton’s current lofty position. Whilst marking up the table I thought it might be interesting/fun to experiment with adding a little bit of speech CSS and generated content to make the table easier to follow when read using Opera.

Continue reading “voice-family: 'Gary Lineker';” | Comments are closed

innerXHTML — Revisited

6th August 2005

After writing a seriously over-complicated JavaScript class to handle innerHTML style behaviour in XHTML documents served with the application/xhtml+xml MIME type. I just found out what I was doing wrong that was preventing all the simpler things I tried working. It’s all about namespaces.

Continue reading “innerXHTML — Revisited” | 1 comment

Explorer Update

24th July 2005

I got round to adding a stylesheet that doesn’t fail completely in Internet Explorer. While I was at it I also fixed up the fancy (pointless) Find as you type functionality on my search box so that now should work in IE too. Ooh AJAX how very modern.

Continue reading “Explorer Update” | Comments are closed

InnerXHTML

1st May 2005

The innerHTML property may be non-standard, but it can be a lot more convienient than fiddling around with the DOM methods to insert a chunk of XHTML into a page. Currently Mozilla doesn’t allow the use of innerHTML to insert markup into documents served as application/xhtml+xml, so here is a class that attempts to provide similar functionailty to innerHTML for these documents.

Continue reading “InnerXHTML” | Comments are closed

Unspoilt by Progress

23rd April 2005

Users of Microsoft Internet Explorer may have noticed that this site looks a little, uh, “minimal” in your browser — minimal in this case being a polite word for broken.

Continue reading “Unspoilt by Progress” | Comments are closed

Of Interest

Hangouts

Listening