I've been looking everywhere with no luck so far.
I want to fade a div in/out at set times. Not at a set time of delay from page load. For example. I want a div to fade to black when it reaches 17:00 on the local machine/server's time (depending on how it can be done) and back in at 09:00 for example. I don't know if JS/JQuery can do this on it's own, or if PHP would need to be involved.
So far I have this for the div fade, but it's using a 6 second delay, rather than triggering at a certain time of day.
$(document).ready(function() {
setTimeout(function() {
$("div.fade-me").fadeOut("slow", function() {
$("div.fade-me").remove();
});
}, 6000); // 6 seconds
});