hi, i have a problem with my code. i am trying to shift pictures as the mouse hovers over the link..but nothing happens!

<div id="FAQ">

 
<ul> 
 <b> FAQ
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_14.gif ' ">What does the Bronze membership include?</a> </li> 
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_06.gif' ">What does the Silver membership include?</a> </li>
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_34.gif' ">What does the Gold membership include?</a> </li> 
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_18.gif' ">How long is the Bronze membership for?</a> </li>
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_27.gif' ">How long is the Silver membership for?</a> </li> 
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_21.gif' ">How long is the Gold membership for?</a> </li>
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_03.gif' ">How much does the Bronze membership cost?</a> </li> 
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_06.gif' ">How much does the Silver membership cost?</a> </li>
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_30.gif' ">How much does the Gold membership cost?</a> </li> 
<li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_10.gif' ">Do i get a discount if i am a student?</a> </li>

 </ul>
</b>
</div>

<div id="AnswerImage">
<img src="Sliced/images/Answers2_03.gif" name="dadfadsfasdf" />
</div>

New Order,

In document head:

<script type="text/javascript">
function swapImage(imgID, src){
	var img = document.getElementById(imgID) || document.all[imgID] || document[imgID] || null;
	if(img) {
		img.src = src;
		img.alt = src;//for testing
	}
};
</script>

Then compose each link as follows:

<li><a href="#" onMouseOver="swapImage('dadfadsfasdf','Answers_14.gif'); ">What does the Bronze membership include?</a></li>

Airshow

that doesnt seem to work.

does anyone know the onMouse function and how to use it?

Problem solved. thank you. i found what was wrong

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.