# Javascript image maps? Changing colour of clicked area?

**URL:** <https://forum.kirupa.com/t/javascript-image-maps-changing-colour-of-clicked-area/219776>\
**Category:** Uncategorized\
**Created:** [March 20, 2007, 2:01am UTC](https://forum.kirupa.com/t/javascript-image-maps-changing-colour-of-clicked-area/219776 "2007-03-20T02:01:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![the\_transporter](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@the\_transporter](https://forum.kirupa.com/u/the_transporter)\
**Post date:** [March 20, 2007, 2:01am UTC](https://forum.kirupa.com/t/javascript-image-maps-changing-colour-of-clicked-area/219776/1 "2007-03-20T02:01:11Z")

</div>

Given the following tutorial: [http://www.w3schools.com/js/js\_image\_maps.asp](http://www.w3schools.com/js/js_image_maps.asp)

Is it possible to change the colour of the image when clicked on? Suppose you click on a planet, can you change the colour of it (on that same image without creating or loading a new image)?
