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

tstoeckler’s picture

tstoeckler’s picture

tstoeckler’s picture

tstoeckler’s picture

Firefox 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.

tstoeckler’s picture

Status: Active » Postponed

Hmm... it seems there are 3 options.

  1. Do not support all major browsers.
  2. Completely wreck your source by the worst divitis ever seen. (IE create a div for each part of the rotation and then always set the right one to visibillity: visible, that's how JQTP does it)
  3. Use a hell-load of images (One for each rotation).

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.

tstoeckler’s picture