Greetings,
Having trouble with a menu I’ve created in one frame affecting data in another frame. Any help would be wonderful!
Presently have 3 images (buttons) stacked atop eachother. I’d like to have “onClick” the image swap for the selected button, and change the content in the main (other) frame. So far so good … my problem is that when I click another of the menu buttons, the swapped image remains on the first image and adds a swapped image also to the 2nd image – and I need the 1st button to revert back to its original state, and the swapped image to appear for the second button.
How can I make it so that on a click of a different button the first button reverts, and the second button swaps?
Below is the code:
<td width=”73″><a href=”aboutus.htm” TARGET=”main” onClick=”MM_swapImage(‘One’,”,’images/aboutus-B.jpg’,1)”><img src=”images/aboutus-A.jpg” alt=”About Us” name=”One” width=”142″ height=”25″ border=”0″></a><br>
<a href=”courses.htm” TARGET=”main” onClick=”MM_swapImage(‘Two’,”,’images/courses-B.jpg’,1)”><img src=”images/courses-A.jpg” alt=”Courses” name=”Two” width=”142″ height=”23″ border=”0″></a><br>
<a href=”services.htm” TARGET=”main” onClick=”MM_swapImage(‘Three’,”,’images/services-B.jpg’,1)”><img src=”images/services-A.jpg” alt=”Services” name=”Three” width=”142″ height=”25″ border=”0″></a></td>
Thank you,
Melissa N