I'm new to web development and I have a probably pretty trivial question.
I have a div in which I have a vertical img-based menu. On the right side of it I have a div with text content. I want to change border color of this div, by clicking corresponding img object.
Can you please tell me the easiest way to do it?
Thanks, and sorry for my English.
These are the menu elements:
<div class="menu-boczne">
<img class="element-menu" src="obrazy/zap.png">
<img class="element-menu" src="obrazy/wyst-czasowe.png">
<img class="element-menu" src="obrazy/wyst-stale.png">
<img class="element-menu" src="obrazy/dla-gr-i-szk.png">
<img class="element-menu" src="obrazy/dz-sie.png">
<img class="element-menu" src="obrazy/od-terenowe.png"> </div>
The thing is I want to change border-color attribute for the content div when one of them is clicked