I have a menu on the left with hyperlinks. On the right I have a <iframe> where I want to switch to different .htm files as the user clicks on the menu hyperlinks.
I got this to work with image menu items rather than hyperlinks. But I can't get it to work with hyperlinks.
Below code is what I used for image menu items.
var oFrame = document.getElementById("fraContent");
oFrame.src = NewSource;
<img src="images/x.gif" onclick="cFs('6_p1.html');" name="x">
<iframe id="fraContent" src="somepage.html" ></iframe>
How can I get this to work with <a href> tag??