I have a webpage that picks up a monthly calendar. I want it to pick up the current month’s calendar file. So March’s calendar is march.html, April’s calendar is april.html etc
.
I currently have to modify the webpage each month and change the default html value to the current month’s html.
I see the javascript getmonth() which gives me the month number, and I know how to convert that to a month name.
But what I don’t know how to do is something like this:
Change this:
<frame src= “http//www.losaltosrotary.org/february.html”
to something like this:
<frame src=”http//www.losaltosrotary.org/” +currentcalendar+”.html”
where currentcalendar has a value of march generated by some earlier javascript function.
Any thoughts?