how to use on mouse over function code example Example: javascript hover event element.onmouseover = function() { //Hovering }