I'm trying to make a banner for an intranet page which updates dynamically, i.e. the page reads 'Today is...' and the javascript looks at the computer's date and fills in the details of 'Friday 2 August'. - This part is working great!!
The bit I want to add is which day of the school timetable calendar it is...we work on a system of five days that rotate consecutively, except for Wednesday which is always Day 6.
So a typical school fortnight could be - Monday (1), Tuesday (2), Wednesday (6), Thursday (3), Friday (4), Monday (5), Tuesday (1), Wednesday (6), Thursday (2), Friday (3). Like so...
Is there any way to add the javascript so that once the first day is set, all other days will follow on with their correct timetable day displayed??
I want the final banner to read:
Today is Friday August 2 - Day 3
like that. Many thanks for any replies in advance.
The bit I want to add is which day of the school timetable calendar it is...we work on a system of five days that rotate consecutively, except for Wednesday which is always Day 6.
So a typical school fortnight could be - Monday (1), Tuesday (2), Wednesday (6), Thursday (3), Friday (4), Monday (5), Tuesday (1), Wednesday (6), Thursday (2), Friday (3). Like so...
Is there any way to add the javascript so that once the first day is set, all other days will follow on with their correct timetable day displayed??
I want the final banner to read:
Today is Friday August 2 - Day 3
like that. Many thanks for any replies in advance.