Menu
I have this script..
<script language=”JavaScript”>
<!– Begin
function movepic(img_name,img_src) {
document[img_name].src=img_src;
}
// End –>
</script>
And then the link looks like..
<a href=”#” onClick=”movepic(‘pix1′,’blahblah.jpg’)”>click me </a>
as long as the main pic is named “pix1” it works fine To replace a picture on my website with another pic when someone clicks a link or pic.
But i want it to link to another .htm in place of the picture..
<a href=”#” onClick=”movepic(‘pix1′,’blahblah.htm’)”>click me </a>
But it wont work!!!!!!! can someone help me please ????
Thanks in advance
dog812