I am using cshtml/C# and I need images that link as well as have a mouseover effect. I can't seem to find something that works for both.
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Tokyoship_Home_icon.svg/300px-Tokyoship_Home_icon.svg.png" class='img-responsive' onclick="location.href='@Url.Action("Index", "ModelDirectory")'; return false;"/> Is there a solution for this? So on hover, the picture would be http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Home_Icon.svg/512px-Home_Icon.svg.png and on mouseout go back to normal. I have many image links and would rather avoid a jquery function for mouse hover for each image. I'm not sure why onmouseover="changeImage('http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Home_Icon.svg/512px-Home_Icon.svg.png')" won't work. Thanks in advance.