Archive for the Code category

Dynamic tabbed interface with YUI

October 29th, 2008 @ 11:12 AM

A week or two ago I decided that my sidebar was getting a little long, so I was trying to figure out a way to keep the same content, but compress things a bit. In the end, I decided to go with a tabbed interface for the list of local blogs I read and the category listing. You can see an example of what I came up with over in the sidebar near the bottom.

After doing some research, I decided to use YUI for the implementation. Why? Why not :-) Here’s what I came up with…

Continue reading…

SN Post Nav WordPress plugin v1.0 released

October 9th, 2008 @ 7:51 PM

Last night I was working on cleaning a few things up when I noticed that the titles in the post navigation at the top of some post pages were butting up against each other (I tend to have long post titles). Once I fixed it, I decided I may as well turn the code into a plugin in case anyone else finds it useful, so I did :-)

Here’s the description from the projects page:

SN Post Nav is a WordPress plugin that truncates long titles in post navigation on single post pages so the display doesn’t break and the titles fit on one line. You can see it in action on this post.

Please leave a comment on this post or email me if you have any questions or run into problems.

SN Archives WordPress plugin v1.2 released

October 9th, 2008 @ 7:33 PM

I just uploaded version 1.2 of the SN Archives WordPress plugin. The changes are:

  • Pages are no longer included in the lists.
  • Better installation instructions and information (see the README in the zip file).
  • A change log (CHANGES in the zip file).

Leave a comment on this post or email me if you have any problems or questions.

SN Archives WordPress plugin resurrected

October 8th, 2008 @ 5:53 PM

Since I’m now running WordPress again, I figured I may as well bring my old SN Archives WordPress plugin back to life so I cleaned up the code a little bit and am re-releasing it.

If you’d like to see it in action, check out the archives (hint: click one of the month names). You can find some additional info and the download on the projects page.

Enjoy.

Oops! Example code is now fixed.

October 3rd, 2008 @ 8:10 PM

If you’ve been here looking at some of the example code (from here, here, or here) over the last few days, you might’ve noticed it didn’t work. It’s now fixed. Things moved around when I went back to WordPress and forgot to update the examples with the new paths. Sorry about that.