Thread: Doh!
View Single Post
  #8 (permalink)  
Old Aug 30th, 2006, 13:45
moojoo's Avatar
moojoo moojoo is online now
Moderator
Join Date: Aug 2005
Location: Texas
Posts: 2,020
Blog Entries: 1
Thanks: 0
Thanked 33 Times in 33 Posts
Re: Doh!

Got it.

Code: Select all
// Set the class of the free box to .freebox
            if (tc.className == "Cell22") {
            tc.className = "freebox";
            }
            
            // Set the properties for the middle/free cell
            if (tc.className == "freebox") {
            tc.innerText = "FREE " + month + "/" + day + "/" + year;
            }
Works fantastic. Thanks for your help.
__________________
I hate IE 6. Just sayin....

Last edited by moojoo; Aug 30th, 2006 at 17:28.
Reply With Quote