Facebook plugins and AJAX loading

I ran into a small issue earlier today while developing a client website. I was trying to load an external page fragment using jQuery.load(), which worked just fine until the code broke the Facebook Like button plugin.

Continue reading

Posted in Web development | Tagged , , , , | Leave a comment

Beginner PHP: Custom array sorting functions explained

Custom sorting?

Many of you most probably are familiar with PHP’s built-in array sorting functions, such as sort, ksort and similar. The built-in sorting functions are quite straight-forward and easy to use. But what about situations where you need to use a custom sorting scheme to order your arrays properly? Say hello to usort, uasort and uksort (u standing for “user-defined”), a set of functions used to map a custom sorting function to handle the more complex ordering problems.

Continue reading

Posted in Web development | Tagged , , , , , | Leave a comment

Using CSS3 gradients to create text leading lines

The new CSS3 gradients are quite powerful and simple when in need of simple repeating background patterns. Although these will not work in older browsers and partly in newer browsers, they are an option to look for to lessen image usage for things that may work without the image file. This entry will guide you through to make leading lines for text (as has been for ages in notebook paper and similar stuff) using some CSS3. This effect can be useful for lines of code within <pre> tags and similar.

Continue reading

Posted in HTML/CSS | Tagged , , , , | 2 Comments

Firefox 4 released

Mozilla has released Firefox 4. Read more and get it at Firefox.com.

Posted in Software | Tagged , , | Leave a comment

On school and skills

This month I passed a digital imaging and image processing course with a skill exam. I passed the exam with good grades. Now I’m working on a real project as a image processor and manipulator. That will earn me some points towards getting a job.

Continue reading

Posted in Personal | Tagged , , | Leave a comment