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 13:23:55
 
 
To
06/04/2002 11:44:48
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00639342
Message ID:
00641835
Views:
19
>>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 tried:
>
>
>document.getElementById('MyTable').style.display='none';
>document.getElementById('MyTable').style.backgroundColor='FFFFFF';
>document.getElementById('MyTable').style.display='';
>
>
>but, that is still the same. It works on the first try. Then, on another other try to go with another color, it is locked.

What version of NS have you tested?
It works on:

Netscape 6.2.2
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2

btw. the second command is
document.getElementById('MyTable').style.display='block';
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform