November 22nd, 2011

How to use Knockout.js with XSLT

Posted in Code |

As you may know, Knockout.js uses inline Javascript for it’s elegant, declarative bindings:

<li data-bind="css: {'active': visible()}"></li>

But if you use XSLT to render your HTML, it may fail because the curly-braces may not be supported… Read the rest

October 24th, 2011

Sharepoint error message of the day

Posted in Code, Sharepoint |

Trusty ol’ Microsoft Sharepoint …
King of sensical error messages:

September 20th, 2011

DropCheck: A magic checklist using Dropbox and Knockout.js

Posted in Mobile |

Ever created a todo list in a .txt file, then popped it into Dropbox for iPhone viewing?

I do it all the time! That’s why I created DropCheck.

 

DropCheck

DropCheck is a web app that turns lines in a .txtRead the rest

February 20th, 2011

How to empty a Javascript array

Posted in Code |

It’s easy:

MyArray.length = 0;

(Just a reminder to myself, since I’ve forgotten about this a few times …)

October 25th, 2010

My Photoshop wishlist

Posted in Design |

Color variables

Imagine changing the color scheme of an entire design with flick of a switch. This would be a real time saver.

States (like hover states or ajax states)

We’ve got layer comps. Now make them interactive. Maybe something… Read the rest

October 8th, 2010

How to make CSS3PIE work

Posted in Code, Design |

CSS3pie

Countless hours have been lost creating rounded corners, dropshadows and gradient backgrounds for the web.
With Internet Explorer still lacking support for CSS3, until recently it seemed like we would have to keep doing tiny graphic sprites (or… Read the rest

March 18th, 2010

Pick your browser …

Posted in Politics |

Alright!

The good people at Microsoft have introduced the Browser Choice splash screen on new Windows installations.
I thought I’d try it out by re-installing the Windows XP that runs in VMWare on my Macbook.

After running… Read the rest

March 14th, 2010

Winter shots from Norway

Posted in Photos |
Tags: , ,

Some photos from last week’s trip to Norway:
DSC_3722

DSC_3652

DSC_3743

DSC_3567

DSC_3648

DSC_3653

February 16th, 2010

Useful PHP libraries, part 2 – Scaffold CSS

Posted in Code |

Scaffold CSS was developed by Anthony Short and it is – basically – every CSS-coder’s dream come true:

Variables, nested selectors, abstractions from vendor-specific properties etc. etc. etc. Good stuff!

Installation and usage couldn’t be simpler! (Really. I… Read the rest

February 3rd, 2010

Useful PHP libraries, part 1 – SLIR

Posted in Code |

In this series of blog posts I introduce my favourite PHP libraries.

Today’s library is:
SLIR

SLIR – or ”Smart Lencioni Image Resizer” – was developed by Joe Lencioni.
It does on-the-fly scaling and cropping of images.

The… Read the rest