Creating a Menu for Your Tags

Written by on

I was working on a link sharing site and I decided to move the tags out of a box on a sidebar and into a menu. Moving tags away from the side required another visual cue to show how often tags are being used. This example assumes that you have created a "tags" table that is associated with your blog entries or links via a shared column. When I create a link for this site, I tag it and insert them into the tags table with the "id" of the link/entry being inserted at the same time. So now that I have the tags associated, I needed to call them out to the menu that I wanted to generate and dynamically change as people tag links.

Real Time Web Analytics ^