Hi there!

I'd like to load a different css stylesheet depending on the time of
day. If it's 6am-12noon, it'll be one sheet. If it's 12noon-6pm it'll
be another. And 6pm-6am, it'll be a third.

I'm sure there must be an easy way of getting jQuery to take the
browser's time and date, check which time range it falls within, and
summon up the correct stylesheet (or simply add a class to the body
tag, to which I'll hook css rules).

Similarly, how would I get it to choose a stylesheet at random, from
the list of three possibilities?

Many thanks,
Zarino Zappia

Reply via email to