Per Søderlind

I code for fun

radial navigation in html5

Sorry no IE  (might work in IE9 platform preview), so open these in a modern browser: DONUT™ - Radial Navigator ASK KEN™Visual Knowledge Browser

WordPress plugin template

UPDATE: As of WordPress 3.3, you shouldn't use the wp_print_styles hook, I've updated the Adding JavaScript section below to reflect this change. You can create a personalized plugin template by using my WordPress Plugin Template Creator When I  rewrote my WP-DenyHost plugin, I wanted to do it as fast as...

When .LESS is more

[sourcecode language="css"] @the-border: 1px; @base-color: #111; #header { color: @base-color * 3; border-left: @the-border; border-right: @the-border * 2; } #footer { color: (@base-color + #111) * 1.5; } ul { list-style-type: none; height: 30px; li { float: left; padding-right: 15px; a { padding: 5px; display: block; color: black; text-decoration: none;...

jQuery 101: Adding unobtrusive ajax to your existing form page

Using jQuery and the form and validate plugins, it is simple to add  unobtrusive ajax to your existing form page 1, Modify your existing form page Add <input type="hidden" name="isAjax" id="isAjax" value="0" /> to your form. This field will tell the processing script, process_input.php in my example, if the values in...

Fighting spam

I have reduced the number of  splog attacks on my site I use the Akismet and WP-DenyHost anti-spam plugins for WordPress. Akismet is a must-have and has, since I installed it, caught 304,056 spams (!!).  When Akismet catch a spammer, it logs the spammers IP address. WP-DenyHost, written by me, prevents spammers from getting access...

Mobile blogging

[wpvideo 73jyWIka width="400"] Earlier WordPress.org has release their WordPress for iPhone and WordPress for Blackberry, today they released WordPress for Android You'll find WordPress for Android in the Android Market. If you are visiting my site from an Android device, you can download it here

jQuery 1.4 Released

*DRUM ROLL*  jQuery 1.4 is released !!! It has a lot of new features and enhancements like the examples below: [sourcecode language="javascript" gutter="true"] jQuery("<div>", { "class": "test", text: "Click me!", click: function(){ $(this).toggleClass("test"); } }).appendTo("body"); jQuery("<input>", { type: "text", val: "Test", focusin: function() { $(this).addClass("active"); }, focusout: function() { $(this).removeClass("active");...

Bergensbanen, a 7 hours train ride in HD released under Creative Commons

UPDATE: The 1080i 50P ProRes file is available as a torrent (NOTE, it's a 246GB file !) Friday November 27th over 1,4 million Norwegians watched parts of “Bergensbanen” on NRK2. The longest documentary ever? At least the longest we have made, almost 7 1/2 hours, showing every minute of the scenic...

Drool Radio 1.3 with 30 000 radio stations

Drool Radio version 1.3  is available. What's new: Drool Radio is now integrated with SHOUTcast.com You can now listen to 30 000 radio stations from around the world Set volume on Radio Alarm Clock Support for ACC+ Stops playing when you remove the headset Stops playing when removed from docking...

The best of 2009

Web Design Ledger has collected a great list with the best of  2009. Head over and get inspired: The Best jQuery Plugins The Best Free WordPress Themes The Best Photoshop Tutorials The Best Free Icon Sets The Best Free Fonts