Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamically adjusting the background color of a table
Message
From
06/04/2002 12:27:15
 
 
To
06/04/2002 05:56:54
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00639342
Message ID:
00641826
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform