Code

Photoshop-like blending modes i HTML5

Blend modes in HTML/CSS, like we know it in Photohop, have been one of my key wishes for every Christmas since the early days of web development. Now, thanks to HTML Canvas, it’s possible – in all major browsers who

/
Code

Photoshop-like blending modes i HTML5

Blend modes in HTML/CSS, like we know it in Photohop, have been one of my key wishes for every Christmas since the early days of web development. Now, thanks to HTML Canvas, it’s possible – in all major browsers who

/
Code

Hyphens for optimized typography in CSS3

The long awaiting CSS3 hyphen option is finally here with Firefox 6 and Safari 5.1 (OSX Lion). It’s still in the test phase, but you can start using it now to ensure your Firefox and Safari users a pleasant visit

/
Code

Hyphens for optimized typography in CSS3

The long awaiting CSS3 hyphen option is finally here with Firefox 6 and Safari 5.1 (OSX Lion). It’s still in the test phase, but you can start using it now to ensure your Firefox and Safari users a pleasant visit

/
Code snippets

Cross-sub-domain iFrame with autoHeight

Javascript and cross-domain iFrames are not good friends. Even cross-sub-domain gives you “Access denied”, when you try to get the height, width or any other information from the iFrames parent window. Here I present a quick fix for cross-sub-domain communication

/
Code snippets

Cross-sub-domain iFrame with autoHeight

Javascript and cross-domain iFrames are not good friends. Even cross-sub-domain gives you “Access denied”, when you try to get the height, width or any other information from the iFrames parent window. Here I present a quick fix for cross-sub-domain communication

/
Code snippets

Typeof – A JavaScript way to eliminate “Function undefined”

Have you ever made a multi page website with one JS-file? Then you know about “Function not defined” problem – right? Here is a solution.

/
Code snippets

Typeof – A JavaScript way to eliminate “Function undefined”

Have you ever made a multi page website with one JS-file? Then you know about “Function not defined” problem – right? Here is a solution.

/
Spotted elsewhere

TimThumb – A dead simple thumbnail generator

In the search for a decent thumbnail generator for a WordPress blog for my brother, I stumpled upon a dead simple, fast one called TimThumb.

/
Spotted elsewhere

TimThumb – A dead simple thumbnail generator

In the search for a decent thumbnail generator for a WordPress blog for my brother, I stumpled upon a dead simple, fast one called TimThumb.

/
Code snippets

If Firefox CSS hack

When optimizing for older verions of Internet Explore, you most lightly might be familiar with the IF-IE CSS hack. This hack is only made for Internet Explore, and hacks for Firefox are not as widely known or used – but

/
Code snippets

If Firefox CSS hack

When optimizing for older verions of Internet Explore, you most lightly might be familiar with the IF-IE CSS hack. This hack is only made for Internet Explore, and hacks for Firefox are not as widely known or used – but

/