# Button state

**URL:** https://forum.kirupa.com/t/button-state/215456
**Category:** Uncategorized
**Created:** [February 7, 2007, 3:01pm UTC](https://forum.kirupa.com/t/button-state/215456 "2007-02-07T15:01:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bigginge](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@bigginge](https://forum.kirupa.com/u/bigginge)
#### Post date: [February 7, 2007, 3:01pm UTC](https://forum.kirupa.com/t/button-state/215456/1 "2007-02-07T15:01:02Z")

</div>

I have 6 blue buttons which when clicked turn to red. I would like the first, home, button to be red when the page loads. When another button is clicked I would like the home button to go to blue, and so on, so the user knows which page he is on. How can I achieve this please?
