Jeff:

I couldn't say for sure, but you might try using "backgroundColor" instead
of "background" as in:


document.getElementById(CurrentHighlightedCell).style.backgroundColor='#0066
00';

The "background" property (both in JS and CSS) is really a short-hand way of
styling every aspect of the background (color, image, repeat, etc.).
Perhaps NS6.1 has a problem with the short-hand JS property.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


Jeff W wrote:
> Can anyone tell me WHY this won't work in NS6.1 but work fine in ie5-6,
> firefox and NS8??
>
> document.getElementById(CurrentHighlightedCell).style.background='
> #006600';
>
> CurrentHighlightedCell is a variable that contains the current id of the
> <TD> background color I am changing.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214589
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to