Question : onmouseover is not working in Mozilla

The below is not working in Mozilla Firefox but works in IE:

<div class="mouseover" onmouseover="this.className='mouseover'" onclick="window.location = 'xyz.html';">

CSS:
.mouseover
{
position: relative;
left : 0px;
padding: 1px;
border-width: 0px;
cursor: hand;
}

Please help.
Thanx

Answer : onmouseover is not working in Mozilla

see if the class equals "hideMe"

function doThis( el )
{
   el =document.getElementById(el);
  if( el )
  {
     el.className = el.className.indexOf('hideMe') ==-1 ? el.className + " hideMe" : el.className.replace("hideMe","");
  }
}
Random Solutions  
 
programming4us programming4us