Læs mit CV her:

http://klausbach.com/cv/

No Comments

Når man udvikler web applikationer til iOS (iPhone og iPad), så støder man ofte ind i det problem, at de seneste ændringer ikke bliver vist. Det skyldes at Safari “cacher” indholdet, dvs. gemmer indholdet af en webside i hukommelsen og genbruger dette, for at undgå at hente nyt indhold via internettet. Under normale omstændigheder er dette ment som en hjælp, men i en udviklings / test situation er det desværre en irritationsfaktor, da man konstant skal slette cachen.

Read the rest of this entry »

No Comments

Controlling animated gifs with JavaScript is not possible, but using jQuery the same effect can be accomplished with this “filmstrip” technique.

Making cool Flash-like animated buttons without using Flash has lately become a reality with the JavaScript frameworks like Dojo, Mootools, Prototype and jQuery. A List Apart has a nice article on the subject. But the solutions I’ve seen all limit them to animating a CSS parameter over time. I wanted to take it a step further. Read the rest of this entry »

No Comments

UPDATE: Component has been updated. Get it here.

I recently came in need of a horizontal scrolling image gallery written i JavaScript. The idea was to autoscroll on mouseover. Clicking the thumbnail would open the image in a nice Lightbox. See the example here.

I have worked with JavaScript frameworks like Dojo, Mootools and Prototype, but for this project I decided to give jQuery a go. Read the rest of this entry »

41 Comments

Apple changed the usage of the “top” command in Terminal, so my output of processes ordered by CPU usage got broken in GeekTool. Read the rest of this entry »

4 Comments

I have an older Intel iMac at home, which is mainly used for browsing, chatting and movie viewing. Watching DVDs from different regions, I was forced to switch the region a couple of times, but alwas was careful to keep the last switch to make sure it ended up in my own region. But when I wanted to make the final switch, I was met with an unexplainalbe error code. I tried everything, but the issue couldn’t be fixed – even the local Mac store said there was no fix, and the guarantee wouldn’t cover either. So I left it that way for maybe a year and a half.

For some reason I gave it a new try recently. To my surprise I succeeded. I finally found a firmware patch for the MATSHITA DVD-R UJ-857D Drive. Now my drive is region-free. Read the rest of this entry »

No Comments

Can you print web page background colors? Yes, actually you can! Using an unobtrusive javascript it is possible to make background colors appear on paper – if you can accept a few limitations. This is achieved by adding a class to every element that has a background color to be printed. Those element will – with a little help of the Mootools framework – have a <div> added which will have a top and bottom border, that will emulate the background color.

Read the rest of this entry »

No Comments

Creating a HTML email template is like taking a trip back to the 90′s, where web standards were an unknown concept and table layout was the way to do things. I’ve boiled down my experiences into 42 bulletpoints, that can help avoid unexpected results.

Read the rest of this entry »

No Comments

If you look at the HTML of a typical Joomla site, you will notice the meta tag called generator in the head – it is set to “Joomla! 1.5 – Open Source Content Management”. I see no reason to give this information away, as it might ease the work of hackers – although they probably have plenty of other tools. Here how to disable the generator meta tag. Read the rest of this entry »

No Comments

As a web designer with a broadband internet connection it is easy to forget bandwidth limitations. At times it can be a good exercise to see how our sites perform with a slow internet connection. Here is how to limit your bandwith temporarily on OS X. Read the rest of this entry »

No Comments