Monday, July 27, 2009

XML Course

Just completed delivering the XML course at the North West University in Potchefstroom.

Went very well.

Friday, July 10, 2009

IE8 JavaScript and backgroundImage

On one of my site I use a technique where I search for all elements that have the same title attribute. All the ones found I change the backgroundImage so those elements are highlighted.

Works brilliantly on all browsers (IE6, IE7, Firefox [all versions], Chrome, Safari, Opera and maybe a few others). But on IE8, it simply doesn't work!

Testing has shown that the JavaScript works, except where it changes the backgroundImage. That is where it [IE8] simply ignores the action requested of it.

Of interest, backgroundColor works. Just backgroundImage style property does not work.

I checked all the standards and found only one thing that seems to make a slight difference:

obj.style.backgroundImage = "url('images/myBgImage.gif')";

must become:

obj.style.backgroundImage = "url(images/myBgImage.gif)";

One must drop the single quotes.

At first this looked like we are going someplace. But now some work and others don't. Haven't noticed a pattern yet. So, I need to do some more work to figure out a solution to this very peculiar problem.

It is strange that Microsoft has not found this problem yet. There are a number of Blog entries that I have found when googling the problem. One of them gave me an idea which I shall be trying this weekend.

Monday, July 6, 2009

Date for IE8 Workshop

We have decided on a date for our first workshop: 16 July.

It will be a full day's event with lunch included.

Go here to to find out more info: http://www.workingwebs.co.za/workshop_ie8.htm

Friday, July 3, 2009

Workshop for IE8 Compatability

We decided yesterday that we would run a workshop to share the tricks we have learned so far to get IE8 to show the various cases we found solutions and work arounds for.

Still choosing a date. Will keep you posted.

Wednesday, July 1, 2009

Quick review of Microsoft's new IE8

My first experience with IE was a pain. I was hoping that after the candidate release that MS would have fixed many of it's errors, but, alas, its being released out to the world via the Windows automatic updates as a critical update!

What's the issue?

The looks and the tabs handling etc. would not be something that would worry me. Those things one gets used to. My issue and bug with IE8 is that it renders many (some fairly normal markup) differently to every other browser out there.

As designers and developers, we already have to contend with browser differences. We have IE6 still being used quite widely - I was visiting a prospective client yesterday and they still use IE6.

IE6 being very different from the IE7 which, in turn, is different from Firefox, Chrome, etc.

Now we have another browser which renders certain things completely differently from all the other browsers.

Well, its more work for all of us!

That, wouldn't be so bad, except for this: how does one charge for something like this? Clients expect you to have all your design ducks in a row. Ouch!