I have a website that has a Radio schedule, Mon – Sun. I would like to be able to display the correct schedule page for the current day, how would I do this? The site is a standard html site. I would also like to be able to highlight the particular show depending on the time of day.
Any ideas, this is all new to me.
Regards
Gary
since it’s also in the javascript section I’ll post a JS version of it:
place this at the top of your index.html file. In the same folder you need the various Monday.html … Friday.html files
in the same way you could do:
and then add a class “current-show” to a specific element in the page (with jQuery)
This assumes that you have given the right classes to the show in the page (for example
And then in your css you can do: