
I’m a big fan of the web-based media viewer application Shadowbox and use it where necessary. However in a recent project I noticed that the contents of the window over which the shadowbox overlay opens, remains scrollable using the mouse wheel.
I wanted to prevent this behaviour and as usual I performed a Google search. I found many questions on it, but no answers. So I looked into it myself and managed to come up with something that works and is quite easy really.
Read the rest of this entry »

As with most web developers, the usage of PNGs within Internet Explorer 6 has always caused a headache, and whilst there are many JavaScript fixes out there, one of the best so far is DD_belatedPNG by Drew Diller.
Unlike most of the other IE6 PNG fix scripts out there, this one makes use of Microsoft’s implementation of VML instead of Microsoft’s AlphaImageLoader filter, as PNG images show up correctly in a VML fill element.
I have found this to be the best option out there at the moment for getting PNGs to work within IE6.
However, I recently found an issue with it, that granted, not many people will need to do, but I did and I also found a solution for it.
Read the rest of this entry »

Today I came across an interesting issue with transparent images being used as a repeating background in Internet Explorer 7 and 8 and thought that I’d share it with you in case you come across it yourself and become as baffled as I was.
Read the rest of this entry »

As some of you may know, in CSS2 it is possible to change the appearance of an element’s cursor by declaring the value of the element’s cursor property. There are various settings for this, e.g. default, crosshair, and pointer (a full list of values and their descriptions is available over at w3schools), but you can also define your own cursor using the url property.
Read the rest of this entry »

I finally got around to playing about with the <canvas> element of HTML5 and amongst other things I have written a simple bar chart creator and have written about it over at html5laboratory.
All comments welcome.

I’ve altered my already small homesite to run that bit faster by optimising both my JavaScript and CSS files, and also allowing Google to host the jQuery file.
Read the rest of this entry »