This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
jQuery plugin to add classes to elements depending on the time of day
freerange/jQuery-ChronoClass
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
jQuery plugin. A silly little ditty that basically sits some classes onto an element depending on the time of day. Basic use .. $('body').chronoClass(); You can enable days of week, and period of day .. $('body').chronoClass({ dayOfWeek:true, timeOfDay:false }); If it is friday afternoon it will do the following if you have true set to the options above .. <body class="fri afternoon"></body> You can then make it look like a sexy beer garden or whatever your ill be. Read the code if you need more info, or tell me what you wanna know and I'll write it here you swine. Seen on http://gofreerange.com/blog I'd like to thank The Smiths for musical accompaniment whilst I wrote it, yeah?
About
jQuery plugin to add classes to elements depending on the time of day
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published