我的页面有一个菜单,这里是 Onmouseover,Onmouseout img
<img id='wits' class="wits1" src="Images/MenuInWhite/ContactButton1.png" onmouseover="this.src='Images/mouseover/ContactButton2.png'"
onmouseout="this.src='Images/MenuInWhite/ContactButton1.png'" /><br />
<img id='city' class="city1" src="Images/MenuInWhite/ActivitiesButton1.png" onmouseover="this.src='Images/mouseover/ActivitiesButton2.png'"
onmouseout="this.src='Images/MenuInWhite/ActivitiesButton1.png'" /><br />
<img id='organise' class="city1" onmouseout="this.src='Images/MenuInWhite/CruisesButton1.png';"
onmouseover="this.src='Images/mouseover/CruisesButton2.png';" src="Images/MenuInWhite/CruisesButton1.png" /><br />
<img id='people' class="city1" onmouseout="this.src='Images/MenuInWhite/HomeButton1.png';"
onmouseover="this.src='Images/mouseover/HomeButton2.png';" src="Images/MenuInWhite/HomeButton1.png" /><br />
每当我将鼠标放在图像上时,图像必须更改,当我将鼠标移开时,必须将其更改为原始图片,它工作正常,,
我想知道每当我选择任何图像时该怎么做,该图像必须更改为在图像上移动鼠标时显示的图像。当我选择任何其他图像时,必须进行相同的过程,但必须将先前更改的图像更改回原始图片。
请帮我解决这个问题,
提前致谢