Monthly Archives: June 2009

The king of pop has left the building

Late last thursday night the news came out, that MJ suffered a cardiac arrest and supposedly died. Not a real surprise, he didn’t exactly look healthy the past few years.

At the time I didn’t really care for his music, I listened to other stuff in the ’80s and ’90s, but looking back now, some songs, like Man in the mirror, Dirty Diana and the earlier Jackson 5 stuff are very well done. Regardless what I think, he was one of the biggest entertainers, the world has ever seen for almost 3 decades (not really counting the 2000era, let’s forget about those).

He was a stage persona, and wasn’t very happy off-stage, which lead to all sorts of antics. A kid trapped in a man’s body, very naive and not understanding the world around him very well. May he rest in peace !

Two Legends

Two Legends

Upgrade to WordPress 2.8 and Lightbox

Very fast affair through the admin interface ! Unfortunately it broke my lightbox jQuery implementation. I did manage to get it working again by using this lightbox 0.5 version and adding

jQuery("a[rel*='lightbox']").lightBox(); // Select all links that contains lightbox in the attribute rel

to my js init script. I might take another look at it soon, to get the other one working again as that was a bit better with grouping support…

Not quite sure what’s better about 2.8, I hope the mysterious WEBSTAT iframe injections will be gone, as that was a PITA with 2.7.1.

UPDATE: Managed to get this plugin to work. Edit the mainplugin php a bit as it’s no longer needed to de_queue the default jquery script. WP 2.8 comes out of the box with jQuery 1.3.2.

So this is what it looks like:

wp_enqueue_script('jquery');
wp_enqueue_script('jquery-lightbox', $path.'jquery.lightbox.min.js', array('jquery'), '1.3.2');
wp_enqueue_script('jquery-lightbox-plugin', $path.'jquery.lightbox.plugin.min.js', array('jquery', 'jquery-lightbox'), '1.0');
optical amplifier