Harry Bailey

Harry Bailey works directly with agency leaders to improve how delivery works — helping them understand what's driving overruns, rework, and delivery friction, prioritise what to tackle first, and build the habits and ownership that make improvements stick. With more than twenty years in project delivery, agency leadership, and operational change, he brings hands-on support to the people and practices at the heart of how growing agencies deliver.

Microsoft Plans Quick Fix for IE

As a webdeveloper I know a lot about Internet Explorer.

The number of security issues it has and the none standards complient way it renders webpages often makes me wish they would say “You know what, lets just stop making browsers, we clearly aren’t up to the task, lets just suggest everyone go and get firefox instead”

But instead they suggest this useless list of tips:

Continue reading

Disable Select Options in Internet Explorer

Put your hands up if you hate developing for Internet explorer….

That would be most of you then.

I can’t stand its special ways of doing things, so when I find an easy work around it makes me happy.

The latest one I have had to find and put into practice is a method for disabling some Select dropdown options in a form. Internet explorer doesn’t support the disabled attribute on option elements. The following code will only work in standards complaint browsers (not in IE 6 or 7):

Continue reading

Uppercase First letters with javascript

If you have a string in javascript and you want to the first letter to be uppercase / a capital then this line of code will do that for you:

str = str.slice(0,1).toUpperCase() + str.slice(1);

If you want to convert more than one letter then you might want to use the following. As examples if you wanted the first 4 characters uppercase use (0,3) and then (4) and if you wanted the first 2 uppercase you would use (0,1) and then (2)

str = str.slice(0,3).toUpperCase + str.slice(4);

Remember that an array starts at zero so always take one from the numbers you want.