nwd12a - 10 months ago 52
Javascript Question

# Using Mouseover to Send the user to a new page

So, for an assignment I need to describe images to a user. The way the instructor wants it done, I need to use the "mouseover" javascript method to send the user to a page describing the image.

This is what I have so far, but I cannot get it to work.

<div class="image1">
<img id="solomid" src="Team_SoloMid.png" alt="Team Solomid Logo" style="width:300px;height:228px">
</div>

<script type="text/javascript">

function Mouseover(){
window.location = "https://en.wikipedia.org/wiki/Team_SoloMid";
}
Mouseover();
</script>


Can anyone help me? I've a couple variation of this, but I can never get the mouseover to actually redirect the user to a page.
And yes, the page is about League, writing programs about stuff I'm interested in helps break up the monotony.

document.getElementbyId Is not a function. The "b" in "by" must be capitalized. Also, remove the line Mouseover(); so that users aren't immediately redirected.