Hello,
I am trying to a onMouseover to the change the background of <td>s when
the mouse is on, the problem is that does not work when we put the
content of these <td>s inside another table thanks to innerHtml.
I simplified as possible the source and you can check this here:
http://cult.free.fr/test_menu/test_menus.html
So,
When the mouse is on the vertical level of "Categories" we put the
content of right table inside the down table:
function dis_firstmenu() {
document.getElementById('deep_0').innerHTML =
document.getElementById('menui_' + -1).innerHTML ;
}
Next, when the mouse go through the cells ( Vacances, Bricolage,
Toulouse, Soirees ) this change the <td> background of the right table
instead of changing the background of the down table cells.:
document.getElementById('td_' + up + '_' +
id_on).style.backgroundImage='url(menu_on.png)' ;
Does anyone know how to manage to make backgrounds change in the down
table knowing that I must use the function bgmenu_on(up, id_on) {...}
and cannot use any <td onMouseover="this.backgroundImage=...">
Thank you,
Vincent.