Archive for the 'Wordpress' Category

Code highlight plugin test

March 15th, 2008

Here’s some JavaScript code for grins:

 
dave = {
show: function() {
this.style.display = ‘block’;
},
 
hide: function() {
this.style.display = ‘none’;
}
}
 

It seems to work, but it jams a ton of “style” tags into the source. Not a good example of coding for someone who does this sort of thing for a living. I’ll look for another plugin.

Switching to Word Press

March 14th, 2008

I guess it’s just laziness, but I’ve made the switch. Hopefully I’ll actually make regular updates with juicy JavaScript goodness.