moodlemoot 06

27th July 2006

I’ve just returned from two days at the MoodleMoot 2006 held at the Open University campus in Milton Keynes. In spite of the combination of sweltering heat and a lack of air conditioning (as well as having to stay in Milton Keynes ;-)) it turned out to be a terrific event.

Continue reading “moodlemoot 06” | Comments are closed

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 Loop Test

3rd June 2006

Today I set out to answer the oh-so exciting question “What is the fastest way to create a loop in JavaScript?” After some tedious exhaustive, cross browser testing these are my results…

Continue reading “JavaScript Loop Test” | 12 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

CSS Inspector (again)

25th March 2006

Since I last posted about it my CSS Inspector User JavaScript/Greasemonkey script has undergone a few little tweaks and changes.

Continue reading “CSS Inspector (again)” | 3 comments

CSS Inspector

14th August 2005

While working on a theme for Moodle I thought it would be helpful to have a tool that allowed me to easily view details of an element in the document. To be able to see it’s ancestors, with any classes and id’s. Basically all the information need to write a CSS selector for that element. So I wrote a user JavaScript to do just that.

Continue reading “CSS Inspector” | 7 comments

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

There’s a Fly in my Tag Soup

3rd August 2005

After trying to customise a web application using CSS and JavaScript I’m starting to wish browsers had never allowed web developers to get away with writing tag soup. Certainly if the developers of the pages I was trying to modify had been faced with a YSoD each time they produced malformed markup my job would’ve been made a lot easier ;-)

Continue reading “There’s a Fly in my Tag Soup” | Comments are closed

What is “this”?

26th July 2005

While experimenting using XMLHttpRequest I noticed a few slightly strange differences between the different browsers I was testing. These differences related to the value of the “this” keyword in the onreadystatechange event handler.

Continue reading “What is “this”?” | 5 comments

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

Of Interest

Hangouts

Listening