Created
December 20, 2011 18:37
-
-
Save tsmango/1502665 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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