when the user clicks on a menu tab i want it to remain selected with it a white button.
here is my attempt but its not working. if you click the home button it does
As others stated you dont have a .selected class also your js will set all li elements to selected when one is clicked you may want to change it to this on the second line
$('#navigation li').click(function() { $(this).addClass('selected'); });