Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically adjusting the background color of a table
Message
De
06/04/2002 12:27:15
 
 
À
06/04/2002 05:56:54
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00639342
Message ID:
00641826
Vues:
11
>Check whether this is what you need:
>
>document.getElementById('MyTable').style.display='none';
>document.getElementById('MyTable').style.backgroundColor='#CCCCCC';
>document.getElementById('MyTable').style.display='block';
>
I finally found why. In Netscape, the bug is that on a Table style, you can only change it once. You can't change it after. However, at the Td level, that is ok. So, I changed my style to have the Td defined as well with the background for the Netscape version.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform