# How do i make a link stay highlighted when its clicked

**URL:** <https://forum.kirupa.com/t/how-do-i-make-a-link-stay-highlighted-when-its-clicked/255925>\
**Category:** flash\
**Created:** [March 28, 2008, 11:15am UTC](https://forum.kirupa.com/t/how-do-i-make-a-link-stay-highlighted-when-its-clicked/255925 "2008-03-28T11:15:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vazash](https://avatars.discourse-cdn.com/v4/letter/v/edb3f5/32.png) [@vazash](https://forum.kirupa.com/u/vazash)\
**Post date:** [March 28, 2008, 11:15am UTC](https://forum.kirupa.com/t/how-do-i-make-a-link-stay-highlighted-when-its-clicked/255925/1 "2008-03-28T11:15:57Z")

</div>

Hi,

This is a relatively simple question but i am quite annoyed not to have been able to figure this out.

I have 4 buttons - About Us, Products… etc.

I want a mouse over so that when i mouse over the About Us text, the text changes color and when i MouseOut, it goes back to the original color.

Also when the link is clicked and the page loads, I would like the link to stay highlighted so that the visitor knows which page he/she is on.

I have tried using movieclip with mouseover, mouseout states in individual keyframes. My actionscript states that on(press) gotoAndStop(mouseover) so that the link stays highlighted when the page loads but I also have an on(rollOut) which states that when I rolloff the link, the color should change back to the normal state. So how do i get this to work?

Thanks,  
vazash.
