I've been having some problems with a little piece of Javascript. I am completely new to the language, so bear with me. What the end goal is to have a few link on the left side of a table, when the user hovers over them, there will be a thumbnail image on the right hand side that appears. This I have using this code:
<script type="text/javascript" language="javascript">
function showPic (whichpic) {
if (document.getElementById) {
document.getElementById('placeholder').src = whichpic.href;
return false;
} else {
return true;
}
}
</script>
but I also want that when a user clicks on the actual link, it will bring them to another webpage. Any help would be great!