CNT Posted March 18, 2012 Share Posted March 18, 2012 (edited) <zip> Edited April 12, 2012 by CNT Link to comment Share on other sites More sharing options...
CNT Posted March 18, 2012 Author Share Posted March 18, 2012 (edited) <zip> Edited April 12, 2012 by CNT Link to comment Share on other sites More sharing options...
justsomeguy Posted March 19, 2012 Share Posted March 19, 2012 The code is old-fashioned, it's not considered good practice to use document.write to write strings of HTML, the more modern way is to use DOM methods to create and append the individual elements. There are also several tags which don't get closed, mostly td and font tags. The issue with the day not being correct may be due to how you use start_day, but it's hard to tell without seeing the code running. Why do you add 1 to start_day, and why do you set it to 8 if it starts at 1? What does it mean if start_day is 8? Link to comment Share on other sites More sharing options...
CNT Posted April 9, 2012 Author Share Posted April 9, 2012 (edited) <zip> Edited April 12, 2012 by CNT Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now