# Simple hit & stay script?

**URL:** <https://forum.kirupa.com/t/simple-hit-stay-script/181203>\
**Category:** flash\
**Created:** [March 7, 2006, 10:41am UTC](https://forum.kirupa.com/t/simple-hit-stay-script/181203 "2006-03-07T10:41:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chappo](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@Chappo](https://forum.kirupa.com/u/Chappo)\
**Post date:** [March 7, 2006, 10:41am UTC](https://forum.kirupa.com/t/simple-hit-stay-script/181203/1 "2006-03-07T10:41:11Z")

</div>

Was wondering how i could do this with the minimum of code and the most effective/easiest

Lets say you have 12 images and when you hover over them, they change colour.  
But, if i click on any of them it should stay on that hover color and also perform some javascript code.

What is the best way to do this ?

Thank you in advance!:kir:
