S
Stefan Mueller
If I open a big table in Internet Explorer the onMouseover event gets
quite slow. When you move the mouse the change of the colors of the
rows is quite slow.
Here's an example:
Please copy the line '<tr class = "stil_normal" onMouseover ...' circa
10'000 times.
=============================================================
<html>
<head>
<style type="text/css">
tr.stil_normal {
background-color: #ffffbb;
}
tr.stil_mouseover {
background-color: #ffdd55;
}
</style>
</head>
<body>
<table width = "100%" border = "0" align = "center">
<tr class = "stil_normal" onMouseover = "className =
'stil_mouseover'" onMouseout = "className = 'stil_normal'"><th>TEST</
tn></tr>
...
<tr class = "stil_normal" onMouseover = "className =
'stil_mouseover'" onMouseout = "className = 'stil_normal'"><th>TEST</
tn></tr>
</table>
</body>
</html>
=============================================================
If you have a table with more columns then already a couple of hundred
lines is enough to see this effect.
In Opera it's a little bit faster and in Mozilla you don't see any
performance problems.
Do I have to live with it or is there a solution to prevent this
performance problem?
quite slow. When you move the mouse the change of the colors of the
rows is quite slow.
Here's an example:
Please copy the line '<tr class = "stil_normal" onMouseover ...' circa
10'000 times.
=============================================================
<html>
<head>
<style type="text/css">
tr.stil_normal {
background-color: #ffffbb;
}
tr.stil_mouseover {
background-color: #ffdd55;
}
</style>
</head>
<body>
<table width = "100%" border = "0" align = "center">
<tr class = "stil_normal" onMouseover = "className =
'stil_mouseover'" onMouseout = "className = 'stil_normal'"><th>TEST</
tn></tr>
...
<tr class = "stil_normal" onMouseover = "className =
'stil_mouseover'" onMouseout = "className = 'stil_normal'"><th>TEST</
tn></tr>
</table>
</body>
</html>
=============================================================
If you have a table with more columns then already a couple of hundred
lines is enough to see this effect.
In Opera it's a little bit faster and in Mozilla you don't see any
performance problems.
Do I have to live with it or is there a solution to prevent this
performance problem?