Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
That would be a killer-feature for this module.
Have not looked into this very intensely.
A quick Google search tells me there is a jQuery library that does this (http://plugins.jquery.com/project/jQTP), but I haven't tested that. Since we're doing the whole recalculation on our own anyway, we might build our own little script.
Not very high on my list at the moment. Just wanted to open an issue if anyone has some ideas, etc.
Comments
Comment #1
tstoecklerSee also: http://blog.lotusnotes.be/domino/archive/2008-05-29-js-analog-clock.html
Comment #2
tstoecklerAnd: http://javascript.about.com/library/blclock6.htm
Comment #3
tstoecklerCSS only rotation: http://snook.ca/archives/html_and_css/css-text-rotation
Comment #4
tstoecklerFirefox only: http://test6.stoeckler.net/node/2
* The style of the clock can be defined purely by CSS.
To do:
* Integrate this with Clock module.
* Make sure this works on IE.
Would be nice:
* Optional seconds hand
* Optionally make the hour and minute hands move only on full minutes/hours and not on every second.
A good start though.
Comment #5
tstoecklerHmm... it seems there are 3 options.
1. is not an option
3. is not CSS-themeable, which basically is not at option either, IMO.
That would leave us with 2. I don't quite get how that's done, but maybe there is a way to only inject those divs into the DOM that are needed? I don't know. Anyway, JQTP is the only thing I've found that meets the standards of cross-browser-compatibility and CSS themability. But if you look at the source now, you can only run screaming...
Postponed for now, as there is no real progress in sight. I might reopen if I find out something useful.
Comment #6
tstoecklerhttp://github.com/lrbabe/jquery.rotate.js ?