Bio
Karen is a Canadian, thirty-something-year-old caffeine addict who enjoys singing along to loud indie music. This mother of two wild boys sprinted awa...
Recent Posts
 
 
 
 

What’s Hot on BlogHer.com

Graphic Design Series, Part Two: Sidebar Menus, Explained

  • Share This Post
  • submit
  • 10
  • Sparkle (
    )
     

Good navigation on your blog is important to your readers. Having a clean site helps them find everything easily and I thought I'd talk a bit about the sidebar, and how to roll up those lists.

Blogrolls can be rolled up using services such as blogrolling.com (more about that in a minute), or dropdown menus, as shown here:
Photobucket - Video and Image Hosting

Here's the code for a dropdown menu:

<form action="blogroll.php" method="get" target="_blank">
<select onchange="window.open(this.options[this.selectedIndex].value);
this.selectedIndex=0;" name="link">

<option>Click for Blogroll...</option>
          
<option value="http://www.blogher.com" target="_blank">BlogHer</option>
         <option value="http://themotherless.com" target="_blank">Motherless</option>
         <option value="http://troll-baby.com" target="_blank">Troll Baby</option>
        


</select>
<input type="submit" value="Go" />
</form>

This code will open the blogroll options in a new window - ideal for both the blogger and readers, so that they don't get lost and lose your blog in the process.

To put your blogroll in a scroll box, like the one pictured below, use this code, along with the javascript code from blogrolling.com.
Photobucket - Video and Image Hosting

<div style="width: 170px;height: 200px;overflow: auto;"><script language="javascript" type="text/javascript" src="http://rpc.blogrolling.com/display.php?r=ad7e311552f37be9a49a96a2978ce096"></script></div>

Where this part is the code from blogrolling.com:

<script language="javascript" type="text/javascript" src="http://rpc.blogrolling.com/display.php?r=ad7e311552f37be9a49a96a2978ce096"></script>

Either left align your sidebar or center it, don't attempt to do both. It is pleasing to the eye to keep things one way or the other.

You can roll up your archives on Blogger, and or your previous posts by using this hack by Glenn from Roveburg.com. (For Previous Posts, just replace your Archives code with your Previous Items code below.

<select name="archivemenu" onchange="document.location.href=this.options[this.selectedIndex].value;" style="background-color:#FFFFFF; color:#000000"> 

<option selected> - Click for blog Archives - </option> 

<!--Reverse Sort Archive Menu Blogger Hack created by Glenn from ROVEBERG.COM -->

<script type="text/javascript">

var archives = new Array();

<BloggerArchives>
archives[archives.length] = new Array('<$BlogArchiveURL$>', '<$BlogArchiveName$>');
</BloggerArchives>

for (var i=archives.length-1;i>=0;i--) {
document.write('<option value=\"' + archives[i][0] + '\">' + archives[i][1] + '</option>');
}

</script>
</select>

Also, since Blogger does not have a categories feature at the moment, you can create your own using this handy hack from Net Compact Framework Tutorials. Basically it uses the Blogger search function and a little bit of code.

For more about dressing your blog up, see the BlogHer Entry, Sourcing Images for Graphic Design, the first installment of the Graphic Design series.

Contributing Editor Karen Rani also blogs at Troll Baby and owns Troll Baby Graphics.

  • 10
  • Sparkle (
    )
     

Comments

Post comment as twitter logo facebook logo
Sort: Newest | Oldest
qutepangy 5 pts

Great info there Karen! I use Wordpress. Does anyone here use Wordpress or some other content/blog management system?

Debra Roby 5 pts

I used Karen's hacks to redo my template this morning. Went from a 3-column template, kinda busy and dark, to a plain as milk template. It's a drastic change, but it should let the words and photos be the stars.

Brenda Smith has a neat hack for customizing the banner ( http://serendipitypatchwork.blogspot.com/2006/08/h... ) on your Blogger template. She's offered to help me edit a photo (once I pick one out).. and then I think the whole template issue will be done for a while.

But, you know, I rearrange furniture almost every season change.. so I won't make any promises on the template.

Debra
A Stitch In Time ( http://astitchintime.blogspot.com )
Deb's Daily Distractions ( http://debsdistractions.blogspot.com )

bobafifi 5 pts

I tried using the Blogger search to make categories awhile back. What I didn't like about it was that the Blogger search does not index/update entries near often enough nor does it purge deleted posts. Instead, I opted for making multiple blogs (one for each category), then tied the latest posts together using the RSS feeds from each blog (after running the feeds through Feedblendr ( http://feedblendr.com/ ) and Feedburner ( http://www.feedburner.com/fb/a/home ) and making a master feed) and then presenting them using the unstyled sharing mashup from Google Reader ( http://www.google.com/reader/view/ ). For an example, see 'Recent Posts' and 'Site Map' sections at
http://www.arisiletz.com/

Best wishes,

-Bob
bobafifi.com ( http://www.bobafifi.com )

fluteplayer.net ( http://www.fluteplayer.net )

ParisBreakfasts 5 pts

I hadn't considered doing this and went ahead and added another blog just for all the extra stuff cluttering my sidebar..I'm going to consider trying this out for convenience. THANKS

kimcoghlan 5 pts

Thanks! My page looks so much cleaner now.
It worked for my recent posts as well, which means it would probably work for blogger archives, and looks much simpler than the hack that you posted above.

HeatherB 5 pts

My blogroll pretty much takes up the entire sidebar and then I want to add more, but it's just way too out of control. This is perfect! And when I completely eff it up (which I will do) I will surely be in contact.

Debra Roby 5 pts

Karen,

You are one fabulous gal!! I'm not happy with my 3 column design really. But just couldn't imagine another way to get the blogroll in there. Now when I undertake another redesign in October I can play with these options and make it functional and pretty.

Thanks.

Debra
A Stitch In Time ( http://astitchintime.blogspot.com )
Deb's Daily Distractions ( http://debsdistractions.blogspot.com )

Karen Rani 5 pts

Note to self: don't attempt to write BlogHer articles while reading Chicka Chicka Boom Boom to Troll Baby. :)
Karen

--
Troll Baby ( http://www.troll-baby.com/ )

Motherless ( http://www.themotherless.com/ )

Troll Baby Graphics ( http://www.troll-babygraphics.com/ )

Alotta Errata 5 pts

this information is great! I hate the look of my endless sidebar in blogger. It's a great place to put things, but it is so overwhelming to open a page and see All. THOSE. LINKS. ack! I'll be trying out some of this code tomorrw.

Alotta Errata : Living life one mistake at a time ( http://www.alottaerrata.blogspot.com/ )

Karen Rani 5 pts

...how to break up this post so it looks better - please have at it or email me - the auto line and paragraph breaks are working too well, and the post now looks quite confusing. Ironic, isn't it?
Thanks,
Karen
--
Troll Baby ( http://www.troll-baby.com/ )

Motherless ( http://www.themotherless.com/ )

Troll Baby Graphics ( http://www.troll-babygraphics.com/ )