zachharkey
6/7/2010 - 6:04 PM

gistfile1.js

  var currentpath = location.pathname;
  $('.block a[@href="' + currentpath + '"]').parent().addClass('current');