Keeping button over state based on the page you're on

Hi - I would like to have my buttons stay in their “over” selected state based on what page is being viewed, so that they stay selected as long as a person is on that page.

Can anyone point me in the right direction to do this?

Thanks!