function writeMonthTitle(calendarDay) {
var monthName = ["January", "February", "March", "April", "May",
"June", "July", "August", "September", "October", "November", "December"];
var thisMonth=calendarDay.getMonth();
document.write("<tr>");
document.write("<th class='monthly_title' colspan='7'>");
document.write('<a href="' + monthName[thisMonth] + '">monthName</a>');
document.write("</th>");
document.write("</tr>");
}
What i have that I am trying to get working correctly. I got the begging portion to pull up correctly i.e.
to call the different months but still doesnt actually link to the proper htm files properly. Also I am trying to display the month name on the calendar I am making and I can't seem to get it to call monthName properly to display the months on the calendar. It just says monthName at the top of every month. Is there any way to change that. also how to i get it to call the say "January.htm" file and so forth. or would I need to actually change the array to say .htm just curious and thank you for the help when it arrives.

New Topic/Question
Reply


MultiQuote






|