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.

Leave a Reply