Skip to content

Instantly share code, notes, and snippets.

@tsmango
Created December 20, 2011 18:37
Show Gist options
  • Select an option

  • Save tsmango/1502665 to your computer and use it in GitHub Desktop.

Select an option

Save tsmango/1502665 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(function() {
$j('#sidebar-products-group a').each(function() {
if($j(this).text().substring(0, 4) == 'ALL:') {
$j(this).css('fontWeight', 'bold');
} else if($j(this).text() == 'All Categories') {
$j('#sidebar-products-group .body').append($j(this).clone().text('View All Products'));
$j(this).remove();
}
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment