window.onmouseover Redirect 1

There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

{{ DomRef }}


An event handler for the mouseover event on the window.


window.onmouseover =funcRef;


  • funcRef is a reference to a function.


window.onmouseover = doFunc;

<title>onmouseover test</title>

<style type="text/css">
.my_box { border: 1px solid red; }

<script type="text/javascript">

window.onmouseover = mouseover;

function mouseover()
 alert("mouseover event detected!");

<div class="my_box">
<p>move the mouse pointer to this div element,<br />
or onto the status bar and back into the main window< br />
to fire the mouseover event.</p>


The mouseover event is raised when the mouse pointer moves over the current element (in this case the window itself).


Not part of specification.

Document Tags and Contributors

 Last updated by: Sheppy,