BubikolRamios
02-10-2007, 05:34 PM
this works fine: background and color getts changed
.mi:hover
{
background:#FFFFD9;/*sort of yellow*/
color: #B90400;/*red*/
}
<a id = 'test' class = "mi" href="#n">aaaaaaaaaaa </a>
when
document.getElementById('test').style.background = 'blue'
effect from hover , on background, is gone !?
on color part still works.
it isn't browser thing, works the same on IE and FF
this, on the other hand, works as expected, does not corrupt anything
document.getElementById('test').style.color = 'blue'
test link:
http://86.61.66.17:8084/AgroZoo/testHTML/testHTML.jsp
thanks for replays
.mi:hover
{
background:#FFFFD9;/*sort of yellow*/
color: #B90400;/*red*/
}
<a id = 'test' class = "mi" href="#n">aaaaaaaaaaa </a>
when
document.getElementById('test').style.background = 'blue'
effect from hover , on background, is gone !?
on color part still works.
it isn't browser thing, works the same on IE and FF
this, on the other hand, works as expected, does not corrupt anything
document.getElementById('test').style.color = 'blue'
test link:
http://86.61.66.17:8084/AgroZoo/testHTML/testHTML.jsp
thanks for replays